From ccb2b1e16dbc0518ced2667de41f1aa0404ad41c Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sun, 26 Oct 2014 13:27:39 -0500 Subject: [PATCH] Update for recent btcjson API change. This commit updates the Tx field of the ListReceivedByAddressResult to TxIDS to mirror the recent change btcjson. --- rpcserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcserver.go b/rpcserver.go index a4285b8..8f894c5 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -2150,7 +2150,7 @@ func ListReceivedByAddress(w *Wallet, chainSvr *chain.Client, icmd btcjson.Cmd) Address: address, Amount: addrData.amount.ToUnit(btcutil.AmountBTC), Confirmations: uint64(addrData.confirmations), - Tx: addrData.tx, + TxIDs: addrData.tx, } idx++ }