Skip to content

Commit b3805b7

Browse files
committed
instantout: add listinstantout func
1 parent f3919d9 commit b3805b7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

instantout/manager.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,3 +258,8 @@ func (m *Manager) GetInstantOutQuote(ctx context.Context,
258258
OnChainFee: chainFee,
259259
}, nil
260260
}
261+
262+
// ListInstantOuts returns all instant outs from the database.
263+
func (m *Manager) ListInstantOuts(ctx context.Context) ([]*InstantOut, error) {
264+
return m.cfg.Store.ListInstantLoopOuts(ctx)
265+
}

0 commit comments

Comments
 (0)