mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
htlcswitch: log dangling circuits in unable to create new commitment
This commit is contained in:
parent
bdd01cccb2
commit
069311c47f
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue