mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
staticaddr: ignoreUnknown flag for DepositsForOutpoints
This commit is contained in:
parent
7c41ec579a
commit
55081cd8fe
6 changed files with 32 additions and 8 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue