mirror of
https://github.com/monero-project/monero.git
synced 2026-01-24 05:14:26 +01:00
wallet2: update spent comparison now that we have two spent states
This commit is contained in:
@@ -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");
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user