Commit 1022c12
committed
tapfreighter: unlock inputs on err if not in broadcast complete state
Update unlock logic to ensure that errors encountered during the
anchor tx broadcast process, but before reaching the broadcast complete
state, result in coins being unlocked. This prevents assets from
remaining locked in case of intermediate failures.1 parent a49b35e commit 1022c12
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1487 | 1487 | | |
1488 | 1488 | | |
1489 | 1489 | | |
1490 | | - | |
| 1490 | + | |
1491 | 1491 | | |
1492 | 1492 | | |
1493 | 1493 | | |
| |||
0 commit comments