@@ -5408,6 +5408,10 @@ static void peer_reconnect(struct peer *peer,
54085408 send_tlvs -> your_last_funding_locked_txid = & peer -> channel -> funding .txid ;
54095409
54105410 send_tlvs -> my_current_funding_locked_txid = & peer -> channel -> funding .txid ;
5411+ status_debug ("Setting send_tlvs->my_current_funding_locked_txid"
5412+ " to %s" ,
5413+ fmt_bitcoin_txid (tmpctx ,
5414+ & peer -> channel -> funding .txid ));
54115415
54125416 for (size_t i = 0 ; i < tal_count (peer -> splice_state -> inflights ); i ++ ) {
54135417 struct inflight * itr = peer -> splice_state -> inflights [i ];
@@ -5424,6 +5428,25 @@ static void peer_reconnect(struct peer *peer,
54245428 }
54255429 }
54265430
5431+ status_debug ("Sending channel_reestablish with"
5432+ " next_funding_tx_id: %s,"
5433+ " your_last_funding_locked: %s,"
5434+ " my_current_funding_locked: %s,"
5435+ " next_local_commit_number: %" PRIu64 "," ,
5436+ send_tlvs && send_tlvs -> next_funding
5437+ ? fmt_bitcoin_txid (tmpctx ,
5438+ send_tlvs -> next_funding )
5439+ : "NULL" ,
5440+ send_tlvs && send_tlvs -> your_last_funding_locked_txid
5441+ ? fmt_bitcoin_txid (tmpctx ,
5442+ send_tlvs -> your_last_funding_locked_txid )
5443+ : "NULL" ,
5444+ send_tlvs && send_tlvs -> my_current_funding_locked_txid
5445+ ? fmt_bitcoin_txid (tmpctx ,
5446+ send_tlvs -> my_current_funding_locked_txid )
5447+ : "NULL" ,
5448+ send_next_commitment_number );
5449+
54275450 /* BOLT #2:
54285451 *
54295452 * - upon reconnection:
0 commit comments