aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-01-25 19:38:14 +0200
committerRiccardo Spagni <ric@spagni.net>2016-01-25 19:38:14 +0200
commit96d0c0373e86998a8469bf035f2bc75b9b957193 (patch)
tree19a3e2a6ccfb429035fad039a5727b2272c3f220 /src
parentMerge pull request #618 (diff)
parentwallet2: update spent comparison now that we have two spent states (diff)
downloadmonero-96d0c0373e86998a8469bf035f2bc75b9b957193.tar.xz
Merge pull request #620
15d9ac8 wallet2: update spent comparison now that we have two spent states (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet2.cpp2
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;
}
}
}