Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Do not include nonce when broadcasting #3702

Closed
diego-G opened this issue May 22, 2019 · 0 comments · Fixed by #4472
Closed

Do not include nonce when broadcasting #3702

diego-G opened this issue May 22, 2019 · 0 comments · Fixed by #4472
Assignees
Milestone

Comments

@diego-G
Copy link

diego-G commented May 22, 2019

Expected behavior

The node broadcast only the necessary data. Remember that we won't have to validate the nonce in the schema either (transactions, signatures and blocks).
https://github.com/LiskHQ/lisk-sdk/blob/008d6d20292aa0e54a82a4c44999e649fa786be0/framework/src/modules/chain/schema/definitions.js#L118

The nonce property should be removed from all of the RPC endpoints response and validation.

Actual behavior

Nonce is broadcast together with the objects but never used.
https://github.com/LiskHQ/lisk-sdk/blob/008d6d20292aa0e54a82a4c44999e649fa786be0/framework/src/modules/chain/logic/broadcaster.js#L109

Which version(s) does this affect? (Environment, OS, etc...)

1.0.0+

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants