mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-12 14:42:38 +02:00
watchtower/wtdb+wtserver: allow retransmission of last update
This commit is contained in:
@@ -82,7 +82,7 @@ func (s *SessionInfo) AcceptUpdateSequence(seqNum, lastApplied uint16) error {
|
||||
return ErrSessionConsumed
|
||||
|
||||
// Client update does not match our expected next seqnum.
|
||||
case seqNum != s.LastApplied+1:
|
||||
case seqNum != s.LastApplied && seqNum != s.LastApplied+1:
|
||||
return ErrUpdateOutOfOrder
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user