Files
grin-wallet/libwallet
jwinterm 9539d342cf Contracts: cancel every tx log entry for a slate in one batch
cancel_tx committed each entry separately, so a failure part way through
left some entries cancelled and the rest untouched, and a retry then
stopped on the entry that was already cancelled. Collect the entries and
their outputs first and cancel them in a single commit, so the partial
state cannot arise.

Cancelling an already cancelled transaction still reports an error, as
db_wallet_tx_rollback expects.
2026-07-27 18:17:42 -04:00
..