Skip to content

Commit

Permalink
splice: fix WIRE_HSMD_SIGN_SPLICE_TX capability check
Browse files Browse the repository at this point in the history
Fixes #6866

Changelog-Fixed: The WIRE_HSMD_SIGN_SPLICE_TX HSM capability is now correctly checked.
  • Loading branch information
ksedgwic authored and rustyrussell committed Nov 15, 2023
1 parent cce4f68 commit 9e0b244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightningd/hsm_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ struct ext_key *hsm_init(struct lightningd *ld)
}

if (feature_offered(ld->our_features->bits[INIT_FEATURE],
WIRE_HSMD_SIGN_SPLICE_TX)
OPT_EXPERIMENTAL_SPLICE)
&& !hsm_capable(ld, WIRE_HSMD_SIGN_SPLICE_TX)) {
fatal("--experimental-splicing needs HSM capable of signing splices!");
}
Expand Down

0 comments on commit 9e0b244

Please sign in to comment.