Commit 2837237
committed
tapfreighter: unlock asset coins before err on tx broadcast fail
Ensure locked asset coins are released before returning an error when
attempting to publish the anchor transaction. Without this change, if
the chain bridge logic determines the anchor transaction should not be
broadcast, the coins remain locked, leaving the send attempt stuck in
limbo.1 parent 1ff04d3 commit 2837237
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1391 | 1391 | | |
1392 | 1392 | | |
1393 | 1393 | | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
1394 | 1406 | | |
1395 | 1407 | | |
1396 | 1408 | | |
| |||
0 commit comments