From 3364d2f2d66f96d4621ec59978ad44934508f26a Mon Sep 17 00:00:00 2001 From: Mohamed Awnallah Date: Sun, 21 Apr 2024 23:19:39 +0200 Subject: [PATCH] lntest: delete all payments in `DeleteAllPayments` --- lntest/rpc/lnd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lntest/rpc/lnd.go b/lntest/rpc/lnd.go index 8f55271f8..e800b9ca4 100644 --- a/lntest/rpc/lnd.go +++ b/lntest/rpc/lnd.go @@ -70,7 +70,7 @@ func (h *HarnessRPC) DeleteAllPayments() { ctxt, cancel := context.WithTimeout(h.runCtx, DefaultTimeout) defer cancel() - req := &lnrpc.DeleteAllPaymentsRequest{} + req := &lnrpc.DeleteAllPaymentsRequest{AllPayments: true} _, err := h.LN.DeleteAllPayments(ctxt, req) h.NoError(err, "DeleteAllPayments") }