|
|
@ -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; |
|
|
|