getcanoe / canoe

Canoe is a Nano Wallet heavily based on the MIT licensed Copay wallet from Bitpay
https://getcanoe.io
MIT License
142 stars 28 forks source link

Unopened account with multiple pending txns can cause loss of funds #286

Closed gokr closed 6 years ago

gokr commented 6 years ago

There was a bug in Wallet.js function balanceUpToBlock that did not take pendingBlocks into account when calculating the current balance for an unopened account. This caused a bad block (a send block) to be created instead of a receive block. This is now fixed in version 0.9.12 of Canoe.

gokr commented 6 years ago

Fixed in 04dcb830bebf0959cb0ca1c78cd272208ceb214f