diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-09-21 10:12:24 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-09-21 10:12:24 +0200 |
commit | 48512acda95211cdbb2c2edb9e9bc4ab6a4c21d3 (patch) | |
tree | 61ad8590be3d17368f90b28c31a131d656d77b4f /src | |
parent | Merge pull request #2302 (diff) | |
parent | daemon: indicate whether the spent key image is mined or unconfirmed (diff) | |
download | monero-48512acda95211cdbb2c2edb9e9bc4ab6a4c21d3.tar.xz |
Merge pull request #2324
c09aa94d daemon: indicate whether the spent key image is mined or unconfirmed (stoffu)
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index cda6f3f95..167e24ed3 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -782,7 +782,7 @@ bool t_rpc_command_executor::is_key_image_spent(const crypto::key_image &ki) { if (1 == res.spent_status.size()) { // first as hex - tools::success_msg_writer() << ki << ": " << (res.spent_status.front() ? "spent" : "unspent"); + tools::success_msg_writer() << ki << ": " << (res.spent_status.front() ? "spent" : "unspent") << (res.spent_status.front() == cryptonote::COMMAND_RPC_IS_KEY_IMAGE_SPENT::SPENT_IN_POOL ? " (in pool)" : ""); } else { |