From 07d2d00b0db275ce9db6e1004d6d4145e9a5b880 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Thu, 14 May 2020 16:53:22 -0400 Subject: [PATCH] add wallet id to transaction_list call --- extras/jsonrpc/daemon.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extras/jsonrpc/daemon.go b/extras/jsonrpc/daemon.go index 0b23f0f..b0d4959 100644 --- a/extras/jsonrpc/daemon.go +++ b/extras/jsonrpc/daemon.go @@ -473,10 +473,11 @@ func (d *Client) Status() (*StatusResponse, error) { return response, d.call(response, "status", map[string]interface{}{}) } -func (d *Client) TransactionList(account *string, page uint64, pageSize uint64) (*TransactionListResponse, error) { +func (d *Client) TransactionList(account *string, wallet *string, page uint64, pageSize uint64) (*TransactionListResponse, error) { response := new(TransactionListResponse) return response, d.call(response, "transaction_list", map[string]interface{}{ "account_id": account, + "wallet_id": wallet, "page": page, "page_size": pageSize, })