wallet2: update spent comparison now that we have two spent states

release-v0.4.0.1
moneromooo-monero 9 years ago
parent f6a75a4875
commit 15d9ac8abd
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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;
}
}
}

Loading…
Cancel
Save