|
@ -4402,7 +4402,9 @@ int32_t bitcoin_base58decode(uint8_t *data,char *coinaddr) |
|
|
p++; |
|
|
p++; |
|
|
if ( *p != '\0' ) |
|
|
if ( *p != '\0' ) |
|
|
{ |
|
|
{ |
|
|
|
|
|
int32_t zeroval(); |
|
|
printf("bitcoin_base58decode error: p %02x != 0x00\n",*p); |
|
|
printf("bitcoin_base58decode error: p %02x != 0x00\n",*p); |
|
|
|
|
|
printf("div0 %d\n",1/zeroval()); |
|
|
mpz_clear(bn), mpz_clear(bn58); |
|
|
mpz_clear(bn), mpz_clear(bn58); |
|
|
return(-1); |
|
|
return(-1); |
|
|
} |
|
|
} |
|
|