diff options
author | stoffu <stoffu@protonmail.ch> | 2017-08-22 17:55:51 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2017-09-21 07:46:44 +0900 |
commit | c09aa94d348d2179a73c8d8908539cbbb5729392 (patch) | |
tree | e85942486e3aa792e543310d07aa7b861dd8b55f | |
parent | Merge pull request #2441 (diff) | |
download | monero-c09aa94d348d2179a73c8d8908539cbbb5729392.tar.xz |
daemon: indicate whether the spent key image is mined or unconfirmed
Diffstat (limited to '')
-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 { |