Skip to content

Post transaction error with decimal #27

@julienkermarec

Description

@julienkermarec

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions