diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-10 17:20:20 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-09-05 11:19:34 +0000 |
commit | 2ec455df1f82148733c4ac268d22e9c51a690b14 (patch) | |
tree | dd0fe1637a7ba7a060b1a97966585bd9d6b87a8f /src/common/util.cpp | |
parent | Merge pull request #5827 (diff) | |
download | monero-2ec455df1f82148733c4ac268d22e9c51a690b14.tar.xz |
wallet: fix mismatch between two concepts of "balance"
One considers the blockchain, while the other considers the
blockchain and some recent actions, such as a recently created
transaction which spend some outputs, but isn't yet mined.
Typically, the "balance" command wants the latter, to reflect
the recent action, but things like proving ownership wants
the former.
This fixes a crash in get_reserve_proof, where a preliminary
check and the main code used two concepts of "balance".
Diffstat (limited to 'src/common/util.cpp')
0 files changed, 0 insertions, 0 deletions