From 88e28a26a8eb33cc6a44ca9a8731c4c67cee07c7 Mon Sep 17 00:00:00 2001 From: "John C. Vernaleo" Date: Tue, 13 Jan 2015 11:26:25 -0500 Subject: [PATCH] Compile again after btcjson changes. --- rpcserver.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcserver.go b/rpcserver.go index aee7636..0046d1b 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -1697,7 +1697,7 @@ func GetAddressesByAccount(w *Wallet, chainSvr *chain.Client, icmd btcjson.Cmd) func GetBalance(w *Wallet, chainSvr *chain.Client, icmd btcjson.Cmd) (interface{}, error) { cmd := icmd.(*btcjson.GetBalanceCmd) - err := checkAccountName(cmd.Account) + err := checkAccountName(*cmd.Account) if err != nil { return nil, err } @@ -2225,7 +2225,7 @@ func ListSinceBlock(w *Wallet, chainSvr *chain.Client, icmd btcjson.Cmd) (interf func ListTransactions(w *Wallet, chainSvr *chain.Client, icmd btcjson.Cmd) (interface{}, error) { cmd := icmd.(*btcjson.ListTransactionsCmd) - err := checkAccountName(cmd.Account) + err := checkAccountName(*cmd.Account) if err != nil { return nil, err }