jl777 7 years ago
parent
commit
98781e30c7
  1. 4
      iguana/exchanges/LP_secp.c

4
iguana/exchanges/LP_secp.c

@ -97,9 +97,9 @@ int32_t bitcoin_sign(void *ctx,char *symbol,uint8_t *sig,bits256 txhash2,bits256
//printf("bitcoin_sign illegal privkey\n");
return(-1);
}
if ( strcmp(symbol,"BCH") == 0 )
if ( strcmp(symbol,"BCH") == 0 || strcmp(symbol,"BTG") == 0 )
{
char str[65]; printf("BCH deterministic signature %s\n",bits256_str(str,txhash2));
char str[65]; printf("BCH/BTG deterministic signature %s\n",bits256_str(str,txhash2));
funcp = 0;
entropy = 0;
} else entropy = extra_entropy.bytes;

Loading…
Cancel
Save