Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
52858e7d63
  1. 2
      iguana/iguana_wallet.c

2
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));
}

Loading…
Cancel
Save