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

Integer 0 should be encoded to ox80? #14

Closed
sc0Vu opened this issue Jun 2, 2018 · 0 comments
Closed

Integer 0 should be encoded to ox80? #14

sc0Vu opened this issue Jun 2, 2018 · 0 comments
Assignees

Comments

@sc0Vu
Copy link
Member

sc0Vu commented Jun 2, 2018

When I try to serialize transaction object, I found that if nonce is zero, the serialized transaction was wrong.

Because web3p/rlp encode 0 to 0x00, and ethreumjs/rlp encode 0 to 0x80.

Still find more detail in rlp wiki.

@sc0Vu sc0Vu self-assigned this Jun 10, 2018
@sc0Vu sc0Vu closed this as completed Jun 10, 2018
@sc0Vu sc0Vu mentioned this issue Jun 10, 2018
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

1 participant