mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-30 01:30:11 +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)
|
||||
defer cancel()
|
||||
|
||||
req := &lnrpc.DeleteAllPaymentsRequest{}
|
||||
req := &lnrpc.DeleteAllPaymentsRequest{AllPayments: true}
|
||||
_, err := h.LN.DeleteAllPayments(ctxt, req)
|
||||
h.NoError(err, "DeleteAllPayments")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user