jl777 7 years ago
parent
commit
3a568061fc
  1. 2
      iguana/exchanges/LP_nativeDEX.c
  2. 2
      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 )
{
printf("jeezy says we cant use the nullstring as passphrase and I agree\n");
//exit(-1);
exit(-1);
}
IAMLP = !amclient;
#ifndef __linux__

2
iguana/exchanges/LP_privkey.c

@ -362,7 +362,7 @@ bits256 LP_privkeycalc(void *ctx,uint8_t *pubkey33,bits256 *pubkeyp,struct iguan
if ( bits256_nonz(privkey) == 0 || (siglen= bitcoin_sign(ctx,coin->symbol,sig,tmpkey,privkey,0)) <= 0 )
{
printf("illegal privkey %s\n",bits256_str(str,privkey));
//exit(0);
exit(0);
}
if ( bits256_nonz(privkey) != 0 && bitcoin_verify(ctx,sig,siglen,tmpkey,coin->pubkey33,33) != 0 )
{

Loading…
Cancel
Save