lntest: delete all payments in DeleteAllPayments
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -70,7 +70,7 @@ func (h *HarnessRPC) DeleteAllPayments() {
|
|||||||
ctxt, cancel := context.WithTimeout(h.runCtx, DefaultTimeout)
|
ctxt, cancel := context.WithTimeout(h.runCtx, DefaultTimeout)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
req := &lnrpc.DeleteAllPaymentsRequest{}
|
req := &lnrpc.DeleteAllPaymentsRequest{AllPayments: true}
|
||||||
_, err := h.LN.DeleteAllPayments(ctxt, req)
|
_, err := h.LN.DeleteAllPayments(ctxt, req)
|
||||||
h.NoError(err, "DeleteAllPayments")
|
h.NoError(err, "DeleteAllPayments")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user