Skip to content

Commit 1399186

Browse files
committed
splice: fix WIRE_HSMD_SIGN_SPLICE_TX capability check
Fixes ElementsProject#6866 Changelog-Fixed: The WIRE_HSMD_SIGN_SPLICE_TX HSM capability is now correctly checked.
1 parent 46bf0ff commit 1399186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightningd/hsm_control.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ struct ext_key *hsm_init(struct lightningd *ld)
167167
}
168168

169169
if (feature_offered(ld->our_features->bits[INIT_FEATURE],
170-
WIRE_HSMD_SIGN_SPLICE_TX)
170+
OPT_EXPERIMENTAL_SPLICE)
171171
&& !hsm_capable(ld, WIRE_HSMD_SIGN_SPLICE_TX)) {
172172
fatal("--experimental-splicing needs HSM capable of signing splices!");
173173
}

0 commit comments

Comments
 (0)