peer: log which channel point when revocation window exhausted
This commit is contained in:
parent
62d6ac6a8f
commit
071aa3ad75
4
peer.go
4
peer.go
@ -1772,8 +1772,8 @@ func (p *peer) handleUpstreamMsg(state *commitmentState, msg lnwire.Message) {
|
|||||||
func (p *peer) updateCommitTx(state *commitmentState) error {
|
func (p *peer) updateCommitTx(state *commitmentState) error {
|
||||||
sigTheirs, err := state.channel.SignNextCommitment()
|
sigTheirs, err := state.channel.SignNextCommitment()
|
||||||
if err == lnwallet.ErrNoWindow {
|
if err == lnwallet.ErrNoWindow {
|
||||||
peerLog.Tracef("revocation window exhausted, unable to send %v",
|
peerLog.Tracef("ChannelPoint(%v): revocation window exhausted, unable to send %v",
|
||||||
len(state.pendingBatch))
|
state.chanPoint, len(state.pendingBatch))
|
||||||
return nil
|
return nil
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user