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

Block with notary tx fails size check in UnmarshalJSON #1766

Closed
alexvanin opened this issue Feb 20, 2021 · 0 comments · Fixed by #1768
Closed

Block with notary tx fails size check in UnmarshalJSON #1766

alexvanin opened this issue Feb 20, 2021 · 0 comments · Fixed by #1768
Assignees
Labels
bug Something isn't working
Milestone

Comments

@alexvanin
Copy link
Contributor

neo-go version 0.94.0-pre-41-g61e04f04

I made a transaction via notary contract that contains three cosigners:

  • proxy contract,
  • multiaddress wallet,
  • notary contract.

This transaction was successfully created by notary contract and then included in the block.

I have an application that subscribed to a new blocks via WSClient. When block with notary transaction appears, WSClient closes notification channel. I found out, that such blocks fail at err = json.Unmarshal(slice[0], val) here. It throws 'size' doesn't match transaction size error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants