mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
instantout: add listinstantout func
This commit is contained in:
parent
f3919d976c
commit
b3805b7cad
1 changed files with 5 additions and 0 deletions
|
|
@ -258,3 +258,8 @@ func (m *Manager) GetInstantOutQuote(ctx context.Context,
|
|||
OnChainFee: chainFee,
|
||||
}, nil
|
||||
}
|
||||
|
||||
// ListInstantOuts returns all instant outs from the database.
|
||||
func (m *Manager) ListInstantOuts(ctx context.Context) ([]*InstantOut, error) {
|
||||
return m.cfg.Store.ListInstantLoopOuts(ctx)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue