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

Post transaction error with decimal #27

Open
julienkermarec opened this issue Jul 19, 2021 · 2 comments
Open

Post transaction error with decimal #27

julienkermarec opened this issue Jul 19, 2021 · 2 comments

Comments

@julienkermarec
Copy link

Amount calculated with the all button : 2067.015717
Amount sended to TX request = 2067015717.0000002

Request URL: https://api-wallet.blockchain.ki/txs?sync=true
Request Method: POST
Status Code: 400

Response message :

error: "math/big: cannot unmarshal "2067015717.0000002" into a *big.Int"

Partial body :
msg: [{type: "cosmos-sdk/MsgDelegate",…}] 0: {type: "cosmos-sdk/MsgDelegate",…} type: "cosmos-sdk/MsgDelegate" value: {delegator_address: "ki1qt49z6saxlqjpv46qujxwpzveeyktzgwcz775v",…} amount: {denom: "uxki", amount: "2067015717.0000002"} amount: "2067015717.0000002" denom: "uxki" delegator_address: "ki1qt49z6saxlqjpv46qujxwpzveeyktzgwcz775v" validator_address: "kivaloper1g2sr6x8hrtwwsaaqu8p8r7dzdfugdcsal08gq8"

@TarekAwwad
Copy link
Member

Thank you @julienkermarec for submitting the issue. I'll be looking into the problem.
Can you please confirm you are using v.0.3.1 ?

@julienkermarec
Copy link
Author

Yes 0.3.1 on Mac OSX 😃

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

2 participants