mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-01 10:41:34 +02:00
lntest: delete all payments in DeleteAllPayments
This commit is contained in:
parent
5c3015b223
commit
3364d2f2d6
@ -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")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user