aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints/checkpoints.cpp
diff options
context:
space:
mode:
authorj-berman <justinberman@protonmail.com>2025-12-11 16:23:34 -0800
committerj-berman <justinberman@protonmail.com>2025-12-12 09:14:55 -0800
commitc147e2dfe2cecb241735e5e625b4cc31009a2b6e (patch)
tree020db1aecf3328fc8edb858d959fe2c0c962b4b6 /src/checkpoints/checkpoints.cpp
parentae08557f713a41f3f7267fcb08bbbe87f18d7932 (diff)
downloadmonzero-core-c147e2dfe2cecb241735e5e625b4cc31009a2b6e.tar.gz
monzero-core-c147e2dfe2cecb241735e5e625b4cc31009a2b6e.tar.xz
monzero-core-c147e2dfe2cecb241735e5e625b4cc31009a2b6e.zip
wallet2: fix edge case where tx's ki's remain marked unspent
If a tx is marked as failed (because it never shows up in the daemon's pool), its key images get reset back to unspent so they can be used in future txs. If the tx re-enters the daemon's pool (e.g. it's removed from the pool and then relayed back), then the wallet incorrectly maintains that the tx's key images are unspent. This change ensures the wallet re-marks the tx's key images as spent if the tx re-appears in the node's pool.
Diffstat (limited to 'src/checkpoints/checkpoints.cpp')
0 files changed, 0 insertions, 0 deletions