From 071aa3ad756467a1492a3c9d22b50b9a3ca4cd4f Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 4 May 2017 16:04:02 -0700 Subject: [PATCH] peer: log which channel point when revocation window exhausted --- peer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/peer.go b/peer.go index ada1a8ca..012fb3d1 100644 --- a/peer.go +++ b/peer.go @@ -1772,8 +1772,8 @@ func (p *peer) handleUpstreamMsg(state *commitmentState, msg lnwire.Message) { func (p *peer) updateCommitTx(state *commitmentState) error { sigTheirs, err := state.channel.SignNextCommitment() if err == lnwallet.ErrNoWindow { - peerLog.Tracef("revocation window exhausted, unable to send %v", - len(state.pendingBatch)) + peerLog.Tracef("ChannelPoint(%v): revocation window exhausted, unable to send %v", + state.chanPoint, len(state.pendingBatch)) return nil } else if err != nil { return err