Commit 79a9794
committed
Wait for actual funding outpoint spends
The spend helper treated any script history as proof of a spend. The
funding transaction itself already creates such a history entry, so the
helper normally returned before Electrum indexed the closing
transaction. A following reorg could therefore begin while the funding
outpoint was still unspent.
Wait until the exact transaction output leaves Electrum's unspent set.
Co-Authored-By: HAL 90001 parent 5ddf270 commit 79a9794
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
| 813 | + | |
| 814 | + | |
818 | 815 | | |
819 | 816 | | |
820 | 817 | | |
821 | | - | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
822 | 821 | | |
823 | 822 | | |
824 | 823 | | |
| |||
0 commit comments