Reply to getnewaddress with the encoded address.
This commit is contained in:
parent
40675d1bef
commit
bdf2198215
1 changed files with 1 additions and 1 deletions
|
@ -622,7 +622,7 @@ func GetNewAddress(frontend chan []byte, icmd btcjson.Cmd) {
|
|||
switch err {
|
||||
case nil:
|
||||
// Reply with the new payment address string.
|
||||
ReplySuccess(frontend, cmd.Id(), addr)
|
||||
ReplySuccess(frontend, cmd.Id(), addr.EncodeAddress())
|
||||
|
||||
case wallet.ErrWalletLocked:
|
||||
// The wallet is locked error may be sent if the keypool needs
|
||||
|
|
Loading…
Reference in a new issue