diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-01-24 19:55:18 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-01-24 19:55:18 +0000 |
commit | 15d9ac8abd51b7eb1d7a4a83014857cddf5c1f17 (patch) | |
tree | 2d2405faf22b9a841b0f69ad3ab2e0d179db30cf /src/wallet | |
parent | Merge pull request #613 (diff) | |
download | monero-15d9ac8abd51b7eb1d7a4a83014857cddf5c1f17.tar.xz |
wallet2: update spent comparison now that we have two spent states
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 3edbaeca2..55e290c0c 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -1429,7 +1429,7 @@ void wallet2::rescan_spent() { LOG_PRINT_L0("Marking output " << i << "(" << td.m_key_image << ") as spent, it was marked as unspent"); } - td.m_spent = daemon_resp.spent_status[i]; + td.m_spent = daemon_resp.spent_status[i] != COMMAND_RPC_IS_KEY_IMAGE_SPENT::UNSPENT; } } } |