jl777 7 years ago
parent
commit
300e322075
  1. 2
      iguana/exchanges/LP_nativeDEX.c
  2. 3
      iguana/exchanges/LP_privkey.c

2
iguana/exchanges/LP_nativeDEX.c

@ -1276,7 +1276,7 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,uint16_t mybu
if ( passphrase == 0 || passphrase[0] == 0 ) if ( passphrase == 0 || passphrase[0] == 0 )
{ {
printf("jeezy says we cant use the nullstring as passphrase and I agree\n"); printf("jeezy says we cant use the nullstring as passphrase and I agree\n");
exit(-1); //exit(-1);
} }
IAMLP = !amclient; IAMLP = !amclient;
#ifndef __linux__ #ifndef __linux__

3
iguana/exchanges/LP_privkey.c

@ -336,6 +336,9 @@ bits256 LP_privkeycalc(void *ctx,uint8_t *pubkey33,bits256 *pubkeyp,struct iguan
RS_encode(G.LP_NXTaddr,nxtaddr); RS_encode(G.LP_NXTaddr,nxtaddr);
} }
bitcoin_priv2pub(ctx,coin->symbol,coin->pubkey33,coin->smartaddr,privkey,coin->taddr,coin->pubtype); bitcoin_priv2pub(ctx,coin->symbol,coin->pubkey33,coin->smartaddr,privkey,coin->taddr,coin->pubtype);
int32_t i; for (i=0; i<33; i++)
printf("%02x",coin->pubkey33[i]);
printf("pubkey33\n");
#ifndef NOTETOMIC #ifndef NOTETOMIC
if ( coin->etomic[0] != 0 ) if ( coin->etomic[0] != 0 )
{ {

Loading…
Cancel
Save