diff --git a/iguana/iguana_wallet.c b/iguana/iguana_wallet.c index d06413964..9ba58a297 100755 --- a/iguana/iguana_wallet.c +++ b/iguana/iguana_wallet.c @@ -923,7 +923,7 @@ char *getnewaddress(struct supernet_info *myinfo,struct iguana_waddress **waddrp if ( iguana_waddresscalc(myinfo,coin->chain->pubtype,coin->chain->wiftype,&addr,bitcoin_randkey(myinfo->ctx)) != 0 ) retjson = iguana_walletadd(myinfo,waddrp,coin,retstr,account,&addr,1,0); else return(clonestr("{\"error\":\"couldnt calculate waddr\"}")); - } else return(clonestr("{\"error\":\"no wallet data\"}")); + } else return(clonestr("{\"error\":\"no wallet data, did you remember to do encryptwallet onetime?\"}")); return(jprint(retjson,1)); }