htlcswitch: log dangling circuits in unable to create new commitment
This commit is contained in:
parent
bdd01cccb2
commit
069311c47f
@ -1439,8 +1439,10 @@ func (l *channelLink) updateCommitTx() error {
|
||||
|
||||
theirCommitSig, htlcSigs, err := l.channel.SignNextCommitment()
|
||||
if err == lnwallet.ErrNoWindow {
|
||||
log.Tracef("revocation window exhausted, unable to send %v",
|
||||
l.batchCounter)
|
||||
l.tracef("revocation window exhausted, unable to send: %v, "+
|
||||
"dangling_opens=%v, dangling_closes%v",
|
||||
l.batchCounter, spew.Sdump(l.openedCircuits),
|
||||
spew.Sdump(l.closedCircuits))
|
||||
return nil
|
||||
} else if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user