Browse Source

Test

etomic
jl777 8 years ago
parent
commit
5ce716cbf3
  1. 2
      iguana/exchanges/LP_nativeDEX.c
  2. 1
      iguana/exchanges/LP_utxos.c

2
iguana/exchanges/LP_nativeDEX.c

@ -160,9 +160,7 @@ void LP_mainloop(struct LP_peerinfo *mypeer,uint16_t mypubport,int32_t pubsock,i
nonz = 0;
if ( (++counter % 2000) == 0 )
{
printf("start privkey updates\n");
LP_privkey_updates(mypeer,pubsock,passphrase,amclient);
printf("done privkey updates\n");
}
if ( (counter % 500) == 0 )
{

1
iguana/exchanges/LP_utxos.c

@ -368,6 +368,7 @@ uint64_t LP_privkey_init(struct LP_peerinfo *mypeer,int32_t mypubsock,char *symb
printf("cant add privkey for %s, coin not active\n",symbol);
return(0);
}
printf("privkey.%s init\n",symbol);
if ( passphrase != 0 )
conv_NXTpassword(privkey.bytes,pubkey.bytes,(uint8_t *)passphrase,(int32_t)strlen(passphrase));
else privkey = iguana_wif2privkey(wifstr);

Loading…
Cancel
Save