Skip to content

Commit 3364d2f

Browse files
lntest: delete all payments in DeleteAllPayments
1 parent 5c3015b commit 3364d2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lntest/rpc/lnd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func (h *HarnessRPC) DeleteAllPayments() {
7070
ctxt, cancel := context.WithTimeout(h.runCtx, DefaultTimeout)
7171
defer cancel()
7272

73-
req := &lnrpc.DeleteAllPaymentsRequest{}
73+
req := &lnrpc.DeleteAllPaymentsRequest{AllPayments: true}
7474
_, err := h.LN.DeleteAllPayments(ctxt, req)
7575
h.NoError(err, "DeleteAllPayments")
7676
}

0 commit comments

Comments
 (0)