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

The number of parameters for transfer's transaction must be 4 #428

Closed
ProDog opened this issue Dec 17, 2020 · 0 comments · Fixed by #429
Closed

The number of parameters for transfer's transaction must be 4 #428

ProDog opened this issue Dec 17, 2020 · 0 comments · Fixed by #429

Comments

@ProDog
Copy link
Contributor

ProDog commented Dec 17, 2020

At:

byte[] script = data is null ? scriptHash.MakeScript("transfer", sender, to, amount) : scriptHash.MakeScript("transfer", sender, to, amount, data);

and
byte[] script = data is null ? scriptHash.MakeScript("transfer", sender, to, amount) : scriptHash.MakeScript("transfer", sender, to, amount, data);

The number of parameters is 3 if the data is null.

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

Successfully merging a pull request may close this issue.

1 participant