staticaddr: ignoreUnknown flag for DepositsForOutpoints

This commit is contained in:
Slyghtning 2025-09-26 11:14:00 +02:00
parent 7c41ec579a
commit 55081cd8fe
No known key found for this signature in database
GPG key ID: F82D456EA023C9BF
6 changed files with 32 additions and 8 deletions

View file

@ -1629,7 +1629,10 @@ func (s *swapClientServer) ListUnspentDeposits(ctx context.Context,
}
// Check the spent status of the deposits by looking at their states.
deposits, err := s.depositManager.DepositsForOutpoints(ctx, outpoints)
ignoreUnknownOutpoints := false
deposits, err := s.depositManager.DepositsForOutpoints(
ctx, outpoints, ignoreUnknownOutpoints,
)
if err != nil {
return nil, err
}