Skip to content
This repository has been archived by the owner. It is now read-only.

signTransaction should return r, s, and v without leading 0's #38

Open
caochao opened this issue Apr 18, 2018 · 2 comments
Open

signTransaction should return r, s, and v without leading 0's #38

caochao opened this issue Apr 18, 2018 · 2 comments

Comments

@caochao
Copy link

caochao commented Apr 18, 2018

i got a error dialog with prompt "non-canonical integer (leading zero bytes) for *big.Int, decoding into (types.Transaction)(types.txdata).R" while send tokens using emerald-wallet.
it happens occasionally.

related issues:
web3/web3.js#1126
web3/web3.js#1170
web3/web3.js#1288

@caochao
Copy link
Author

caochao commented Apr 30, 2018

@gagarin55 what's your implemention of rpc interface "emerald_signTransaction"? i think you should read this eth.accounts.signTransaction: expected r & s to be treated as quantity, not data

@gagarin55
Copy link
Contributor

For now it uses this RPC method - https://github.com/ETCDEVTeam/emerald-rs/blob/master/docs/api.md#emerald_signtransaction

Thank you for reporting, we will check provided notes

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

No branches or pull requests

2 participants