Browse Source

Test

etomic
jl777 7 years ago
parent
commit
8c569350a5
  1. 2
      iguana/exchanges/LP_etomic.c

2
iguana/exchanges/LP_etomic.c

@ -79,7 +79,7 @@ int32_t LP_etomic_priv2pub(uint8_t *pub64,bits256 privkey)
if ( (pubstr= getPubKeyFromPriv(str)) != 0 ) if ( (pubstr= getPubKeyFromPriv(str)) != 0 )
{ {
printf("priv2pub got %s\n",pubstr); printf("priv2pub got %s\n",pubstr);
if ( strlen(pubstr) == 128 && pubstr[0] == '0' && pubstr[1] == 'x' ) if ( strlen(pubstr) == 130 && pubstr[0] == '0' && pubstr[1] == 'x' )
{ {
decode_hex(pub64,64,pubstr+2); decode_hex(pub64,64,pubstr+2);
retval = 64; retval = 64;

Loading…
Cancel
Save