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()
|
theirCommitSig, htlcSigs, err := l.channel.SignNextCommitment()
|
||||||
if err == lnwallet.ErrNoWindow {
|
if err == lnwallet.ErrNoWindow {
|
||||||
log.Tracef("revocation window exhausted, unable to send %v",
|
l.tracef("revocation window exhausted, unable to send: %v, "+
|
||||||
l.batchCounter)
|
"dangling_opens=%v, dangling_closes%v",
|
||||||
|
l.batchCounter, spew.Sdump(l.openedCircuits),
|
||||||
|
spew.Sdump(l.closedCircuits))
|
||||||
return nil
|
return nil
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user