Compile again after btcjson changes.

This commit is contained in:
John C. Vernaleo 2015-01-13 11:26:25 -05:00
parent edaddb0d95
commit 88e28a26a8

View file

@ -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
}