jl777 8 years ago
parent
commit
ecf430a346
  1. 1
      iguana/iguana_wallet.c

1
iguana/iguana_wallet.c

@ -1377,6 +1377,7 @@ THREE_STRINGS(bitcoinrpc,encryptwallet,passphrase,password,permanentfile)
{ {
free(retstr); free(retstr);
bitcoin_priv2wif(wifstr,waddr.privkey,coin->chain->wiftype); bitcoin_priv2wif(wifstr,waddr.privkey,coin->chain->wiftype);
jaddbits256(retjson,"privkey",waddr.privkey);
sprintf(buf,"%swif",coin->symbol); sprintf(buf,"%swif",coin->symbol);
jaddstr(retjson,buf,wifstr); jaddstr(retjson,buf,wifstr);
if ( strcmp(coin->symbol,"KMD") != 0 ) if ( strcmp(coin->symbol,"KMD") != 0 )

Loading…
Cancel
Save