mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-02 03:54:26 +02:00
multi: add call to directly insert an AMP sub-invoice
This commit is contained in:
@@ -79,6 +79,10 @@ type SQLInvoiceQueries interface { //nolint:interfacebloat
|
||||
UpsertAMPSubInvoice(ctx context.Context,
|
||||
arg sqlc.UpsertAMPSubInvoiceParams) (sql.Result, error)
|
||||
|
||||
// TODO(bhandras): remove this once migrations have been separated out.
|
||||
InsertAMPSubInvoice(ctx context.Context,
|
||||
arg sqlc.InsertAMPSubInvoiceParams) error
|
||||
|
||||
UpdateAMPSubInvoiceState(ctx context.Context,
|
||||
arg sqlc.UpdateAMPSubInvoiceStateParams) error
|
||||
|
||||
|
Reference in New Issue
Block a user