|
|
@ -750,7 +750,7 @@ bits256 LP_privkeycalc(void *ctx,uint8_t *pubkey33,bits256 *pubkeyp,struct iguan |
|
|
|
bitcoin_priv2wif(tmpstr,privkey,coin->wiftype); |
|
|
|
bitcoin_addr2rmd160(coin->taddr,&tmptype,rmd160,coin->smartaddr); |
|
|
|
LP_privkeyadd(privkey,rmd160); |
|
|
|
//if ( coin->pubtype != 60 || strcmp(coin->symbol,"KMD") == 0 )
|
|
|
|
if ( coin->pubtype != 60 || strcmp(coin->symbol,"KMD") == 0 ) |
|
|
|
printf("%s (%s) %d wif.(%s) (%s)\n",coin->symbol,coin->smartaddr,coin->pubtype,tmpstr,passphrase); |
|
|
|
if ( coin->inactive == 0 ) |
|
|
|
printf("importprivkey: %s\n",jprint(LP_importprivkey(coin->symbol,tmpstr,"",-1),1)); |
|
|
|