@@ -1150,8 +1150,10 @@ static u8 *send_commit_part(const tal_t *ctx,
1150
1150
if (feature_negotiated (peer -> our_features ,
1151
1151
peer -> their_features ,
1152
1152
OPT_EXPERIMENTAL_SPLICE )) {
1153
- status_debug ("send_commit_part(splice: %d, remote_splice: %d)" ,
1154
- (int )splice_amnt , (int )remote_splice_amnt );
1153
+ status_debug ("send_commit_part(splice: %d, remote_splice: %d,"
1154
+ " index: %" PRIu64 ")" ,
1155
+ (int )splice_amnt , (int )remote_splice_amnt ,
1156
+ remote_index );
1155
1157
1156
1158
cs_tlv -> splice_info = tal (cs_tlv , struct channel_id );
1157
1159
derive_channel_id (cs_tlv -> splice_info , funding );
@@ -1839,8 +1841,9 @@ static struct commitsig_info *handle_peer_commit_sig(struct peer *peer,
1839
1841
const struct commitsig * * commitsigs ;
1840
1842
int remote_anchor_outnum ;
1841
1843
1842
- status_debug ("handle_peer_commit_sig(splice: %d, remote_splice: %d)" ,
1843
- (int )splice_amnt , (int )remote_splice_amnt );
1844
+ status_debug ("handle_peer_commit_sig(splice: %d, remote_splice: %d,"
1845
+ " index: %" PRIu64 ")" ,
1846
+ (int )splice_amnt , (int )remote_splice_amnt , local_index );
1844
1847
1845
1848
struct tlv_commitment_signed_tlvs * cs_tlv
1846
1849
= tlv_commitment_signed_tlvs_new (tmpctx );
@@ -2703,8 +2706,11 @@ static struct commitsig *interactive_send_commitments(struct peer *peer,
2703
2706
if (do_i_sign_first (peer , psbt , our_role , inflight -> force_sign_first )
2704
2707
&& send_commitments ) {
2705
2708
2706
- status_debug ("Splice %s: we commit first" ,
2707
- our_role == TX_INITIATOR ? "initiator" : "accepter" );
2709
+ status_debug ("Splice %s: we commit first;"
2710
+ " next_index_local:%" PRIu64 ";"
2711
+ " next_index_remote:%" PRIu64 ,
2712
+ our_role == TX_INITIATOR ? "initiator" : "accepter" ,
2713
+ next_index_local , next_index_remote );
2708
2714
2709
2715
peer_write (peer -> pps , send_commit_part (tmpctx ,
2710
2716
peer ,
@@ -2731,6 +2737,12 @@ static struct commitsig *interactive_send_commitments(struct peer *peer,
2731
2737
if (msg_received )
2732
2738
* msg_received = msg ;
2733
2739
2740
+ status_debug ("Splice %s: we recv commit;"
2741
+ " next_index_local:%" PRIu64 ";"
2742
+ " next_index_remote:%" PRIu64 ,
2743
+ our_role == TX_INITIATOR ? "initiator" : "accepter" ,
2744
+ next_index_local , next_index_remote );
2745
+
2734
2746
/* Funding counts as 0th commit so we do inflight_index + 1 */
2735
2747
if (fromwire_peektype (msg ) == WIRE_COMMITMENT_SIGNED ) {
2736
2748
get_per_commitment_point (next_index_local - 1 ,
@@ -2750,8 +2762,11 @@ static struct commitsig *interactive_send_commitments(struct peer *peer,
2750
2762
if (!do_i_sign_first (peer , psbt , our_role , inflight -> force_sign_first )
2751
2763
&& send_commitments ) {
2752
2764
2753
- status_debug ("Splice %s: we commit second" ,
2754
- our_role == TX_INITIATOR ? "initiator" : "accepter" );
2765
+ status_debug ("Splice %s: we commit second;"
2766
+ " next_index_local:%" PRIu64 ";"
2767
+ " next_index_remote:%" PRIu64 ,
2768
+ our_role == TX_INITIATOR ? "initiator" : "accepter" ,
2769
+ next_index_local , next_index_remote );
2755
2770
2756
2771
peer_write (peer -> pps , send_commit_part (tmpctx ,
2757
2772
peer ,
0 commit comments