Commit 8bac293
committed
fix: allow DLC input signing for closed/preclosed contracts
get_signature_for_dlc_input only accepted Contract::Confirmed, causing
splice operations to fail when the referenced contract was incorrectly
moved to Closed (e.g. mempool-only splice tx treated as confirmed with
NB_CONFIRMATIONS=0). The ClosedContract struct contains the full
SignedContract data needed for signing, so the match is extended to
handle all states that carry signing data.1 parent 0d8aa46 commit 8bac293
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
0 commit comments