Skip to content

Commit c25f3c8

Browse files
committed
splice: Update messages to spec
This commit being pushed means interop was successful. Changelog-None
1 parent e6bf6a9 commit c25f3c8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lightningd/hsm_control.c

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

179179
if (feature_offered(ld->our_features->bits[INIT_FEATURE],
180-
OPT_EXPERIMENTAL_SPLICE)
180+
OPT_SPLICE)
181181
&& !hsm_capable(ld, WIRE_HSMD_SIGN_SPLICE_TX)) {
182182
fatal("--experimental-splicing needs HSM capable of signing splices!");
183183
}

lightningd/options.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,7 @@ static char *opt_set_splicing(struct lightningd *ld)
12671267
{
12681268
feature_set_or(ld->our_features,
12691269
take(feature_set_for_feature(NULL,
1270-
OPTIONAL_FEATURE(OPT_EXPERIMENTAL_SPLICE))));
1270+
OPTIONAL_FEATURE(OPT_SPLICE))));
12711271
return NULL;
12721272
}
12731273

@@ -2059,7 +2059,7 @@ void add_config_deprecated(struct lightningd *ld,
20592059
json_add_bool(response, name0,
20602060
feature_offered(ld->our_features
20612061
->bits[INIT_FEATURE],
2062-
OPT_EXPERIMENTAL_SPLICE));
2062+
OPT_SPLICE));
20632063
} else if (opt->cb == (void *)opt_set_onion_messages) {
20642064
json_add_bool(response, name0,
20652065
feature_offered(ld->our_features

wire/peer_wire.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,13 @@ subtypedata,lease_rates,channel_fee_max_base_msat,tu32,
211211
msgtype,stfu,2
212212
msgdata,stfu,channel_id,channel_id,
213213
msgdata,stfu,initiator,u8,
214-
msgtype,splice,75
214+
msgtype,splice,80
215215
msgdata,splice,channel_id,channel_id,
216216
msgdata,splice,relative_satoshis,s64,
217217
msgdata,splice,funding_feerate_perkw,u32,
218218
msgdata,splice,locktime,u32,
219219
msgdata,splice,funding_pubkey,point,
220-
msgtype,splice_ack,76
220+
msgtype,splice_ack,81
221221
msgdata,splice_ack,channel_id,channel_id,
222222
msgdata,splice_ack,relative_satoshis,s64,
223223
msgdata,splice_ack,funding_pubkey,point,

0 commit comments

Comments
 (0)