blockchain / unused-My-Wallet

Legacy Blockchain Web Wallet - current version is at https://github.com/blockchain/My-Wallet-V3-Frontend
205 stars 127 forks source link

Bitcoind-compatible JSON-RPC API - Amount of confirmations reported as a negative number #49

Closed Matoking closed 9 years ago

Matoking commented 11 years ago

When I use the JSON-RPC command 'gettransactions', the amount of confirmations is reported incorrectly as a negative number. For example, when a transaction has 54821 confirmations, it is incorrectly shown as having -54821 confirmations: ["confirmations"]=> int(-54821)

This seems to happen regardless of the transaction type (whether it's received or sent).