Skip to content

Commit

Permalink
lntest: delete all payments in DeleteAllPayments
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedawnallah committed Apr 24, 2024
1 parent 5c3015b commit 3364d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lntest/rpc/lnd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 3364d2f

Please sign in to comment.