lntest: delete all payments in DeleteAllPayments

This commit is contained in:
Mohamed Awnallah 2024-04-21 23:19:39 +02:00
parent 5c3015b223
commit 3364d2f2d6
No known key found for this signature in database
GPG Key ID: 5D55706029E9B87E

View File

@ -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")
}