multi: thread context through DeletePayment
This commit is contained in:
5 files changed
+32
-17
No files matched your search
@@ -31,7 +31,8 @@ type PaymentReader interface {
|
||||
// database.
|
||||
type PaymentWriter interface {
|
||||
// DeletePayment deletes a payment from the DB given its payment hash.
|
||||
DeletePayment(paymentHash lntypes.Hash, failedAttemptsOnly bool) error
|
||||
DeletePayment(ctx context.Context, paymentHash lntypes.Hash,
|
||||
failedAttemptsOnly bool) error
|
||||
|
||||
// DeletePayments deletes all payments from the DB given the specified
|
||||
// flags.
|
||||
|
||||
Reference in new issue
Block a user