From 9e0b244058e699a57b018ce4fae7d6f0c49a3ad3 Mon Sep 17 00:00:00 2001 From: Ken Sedgwick Date: Mon, 13 Nov 2023 16:16:31 -0800 Subject: [PATCH] splice: fix WIRE_HSMD_SIGN_SPLICE_TX capability check Fixes #6866 Changelog-Fixed: The WIRE_HSMD_SIGN_SPLICE_TX HSM capability is now correctly checked. --- lightningd/hsm_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/hsm_control.c b/lightningd/hsm_control.c index 889ea87364ef..8d1b6c536a7e 100644 --- a/lightningd/hsm_control.c +++ b/lightningd/hsm_control.c @@ -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!"); }