peer: log which channel point when revocation window exhausted

This commit is contained in:
Olaoluwa Osuntokun 2017-05-04 16:04:02 -07:00
parent 62d6ac6a8f
commit 071aa3ad75
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2
1 changed files with 2 additions and 2 deletions

View File

@ -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