Merge pull request #4107 from Crypt-iQ/switch_err_0220
htlcswitch: log fixes
This commit is contained in:
5 files changed
+187
-17
No files matched your search
+5
-5
@@ -2060,6 +2060,10 @@ func (l *channelLink) updateCommitTx() error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := l.ackDownStreamPackets(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// The remote party now has a new pending commitment, so we'll update
|
||||
// the contract court to be aware of this new set (the prior old remote
|
||||
// pending).
|
||||
@@ -2069,11 +2073,7 @@ func (l *channelLink) updateCommitTx() error {
|
||||
Htlcs: pendingHTLCs,
|
||||
}:
|
||||
case <-l.quit:
|
||||
return nil
|
||||
}
|
||||
|
||||
if err := l.ackDownStreamPackets(); err != nil {
|
||||
return err
|
||||
return ErrLinkShuttingDown
|
||||
}
|
||||
|
||||
commitSig := &lnwire.CommitSig{
|
||||
|
||||
Reference in new issue
Block a user