mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-30 20:34:20 +01:00
Marking spent means if the transaction doesn't confirm for some reason, the user will need to force a rescan to find the funds. Now we have timed reservations, reserving for (an additional) 12 hours should be sufficient. We also take this opportunity (now we have our own callback path) to record the tx in the wallet only on success. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>