Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in packages/vm/core/accounts/impl.go #82

Closed
brunoamancio opened this issue Jan 29, 2021 · 2 comments
Closed

Error in packages/vm/core/accounts/impl.go #82

brunoamancio opened this issue Jan 29, 2021 · 2 comments

Comments

@brunoamancio
Copy link
Contributor

The following line is using the wrong parameter. It should use ParamAmount instead of ParamAgentID.

amount, ok, err := codec.DecodeInt64(ctx.Params().MustGet(ParamAgentID))

@lunfardo314
Copy link
Contributor

good catch, thanks! That happens when the function is not covered with tests (yet). This branch is not even finished.

@lunfardo314
Copy link
Contributor

lunfardo314 commented Jan 29, 2021

Fixed in 1f44c21

dessaya pushed a commit to dessaya/wasp that referenced this issue Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants