mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-28 13:52:55 +02:00
itests: add FundPsbt custom lock ID and duration test
This commit is contained in:
@@ -379,3 +379,16 @@ func (h *HarnessRPC) RequiredReserve(
|
||||
|
||||
return resp
|
||||
}
|
||||
|
||||
// ListLeases makes a ListLeases RPC call to the node's WalletKit client.
|
||||
func (h *HarnessRPC) ListLeases() *walletrpc.ListLeasesResponse {
|
||||
ctxt, cancel := context.WithTimeout(h.runCtx, DefaultTimeout)
|
||||
defer cancel()
|
||||
|
||||
resp, err := h.WalletKit.ListLeases(
|
||||
ctxt, &walletrpc.ListLeasesRequest{},
|
||||
)
|
||||
h.NoError(err, "ListLeases")
|
||||
|
||||
return resp
|
||||
}
|
||||
|
Reference in New Issue
Block a user