multi: thread context through DeletePayment
This commit is contained in:
5 files changed
+32
-17
No files matched your search
+1
-1
@@ -7741,7 +7741,7 @@ func (r *rpcServer) DeletePayment(ctx context.Context,
|
||||
rpcsLog.Infof("[DeletePayment] payment_identifier=%v, "+
|
||||
"failed_htlcs_only=%v", hash, req.FailedHtlcsOnly)
|
||||
|
||||
err = r.server.paymentsDB.DeletePayment(hash, req.FailedHtlcsOnly)
|
||||
err = r.server.paymentsDB.DeletePayment(ctx, hash, req.FailedHtlcsOnly)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user