diff --git a/funding/manager.go b/funding/manager.go index c357d6dc7..809a56a07 100644 --- a/funding/manager.go +++ b/funding/manager.go @@ -1505,6 +1505,10 @@ func (f *Manager) handleFundingOpen(peer lnpeer.Peer, return } + log.Debugf("Initialized channel reservation: zeroConf=%v, psbt=%v, "+ + "cannedShim=%v", reservation.IsZeroConf(), + reservation.IsPsbt(), reservation.IsCannedShim()) + if zeroConf { // Store an alias for zero-conf channels. Other option-scid // channels will do this at a later point. diff --git a/lnwallet/wallet.go b/lnwallet/wallet.go index 49c6410be..6b1400fc6 100644 --- a/lnwallet/wallet.go +++ b/lnwallet/wallet.go @@ -798,6 +798,9 @@ func (l *LightningWallet) handleFundingReserveRequest(req *InitFundingReserveMsg return } + walletLog.Debugf("Registered funding intent for "+ + "PendingChanID: %x", req.PendingChanID) + localFundingAmt = fundingIntent.LocalFundingAmt() remoteFundingAmt = fundingIntent.RemoteFundingAmt() } @@ -891,6 +894,10 @@ func (l *LightningWallet) handleFundingReserveRequest(req *InitFundingReserveMsg // completed, or canceled. req.resp <- reservation req.err <- nil + + walletLog.Debugf("Successfully handled funding reservation with "+ + "pendingChanID: %x, reservationID: %v", + reservation.pendingChanID, reservation.reservationID) } // enforceReservedValue enforces that the wallet, upon a new channel being