Compile again after btcjson changes.
This commit is contained in:
parent
edaddb0d95
commit
88e28a26a8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue