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

wallet.MakeTransaction() convert Base64 script via HexToBytes() straightly #381

Closed
superboyiii opened this issue Oct 30, 2020 · 0 comments · Fixed by #382
Closed

wallet.MakeTransaction() convert Base64 script via HexToBytes() straightly #381

superboyiii opened this issue Oct 30, 2020 · 0 comments · Fixed by #382

Comments

@superboyiii
Copy link
Member

Describe the bug
wallet.MakeTransaction() convert Base64 script via HexToBytes() straightly

To Reproduce
Steps to reproduce the behavior:

  1. Invoke openwallet via RPC
  2. Invoke a method from sc
  3. Exception comes out which shows incorrect string format

Expected behavior
Format exception comes out here.

tx = wallet.MakeTransaction(result["script"].AsString().HexToBytes(), sender, witnessSigners);

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