mirror of
https://github.com/monero-project/monero.git
synced 2024-12-15 04:46:31 +02:00
Merge pull request #2324
c09aa94d
daemon: indicate whether the spent key image is mined or unconfirmed (stoffu)
This commit is contained in:
commit
48512acda9
@ -782,7 +782,7 @@ bool t_rpc_command_executor::is_key_image_spent(const crypto::key_image &ki) {
|
|||||||
if (1 == res.spent_status.size())
|
if (1 == res.spent_status.size())
|
||||||
{
|
{
|
||||||
// first as hex
|
// 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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user