Fix same issue as before, but for getaccountaddress.
This commit is contained in:
parent
bdf2198215
commit
15c85b5c75
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ func GetAccountAddress(frontend chan []byte, icmd btcjson.Cmd) {
|
||||||
|
|
||||||
switch addr, err := a.CurrentAddress(); err {
|
switch addr, err := a.CurrentAddress(); err {
|
||||||
case nil:
|
case nil:
|
||||||
ReplySuccess(frontend, cmd.Id(), addr)
|
ReplySuccess(frontend, cmd.Id(), addr.EncodeAddress())
|
||||||
|
|
||||||
case wallet.ErrWalletLocked:
|
case wallet.ErrWalletLocked:
|
||||||
ReplyError(frontend, cmd.Id(), &btcjson.ErrWalletKeypoolRanOut)
|
ReplyError(frontend, cmd.Id(), &btcjson.ErrWalletKeypoolRanOut)
|
||||||
|
|
Loading…
Reference in a new issue