diff --git a/crypto777/iguana_utils.c b/crypto777/iguana_utils.c index b4b354d3b..b477880f8 100755 --- a/crypto777/iguana_utils.c +++ b/crypto777/iguana_utils.c @@ -359,7 +359,7 @@ int32_t decode_hex(unsigned char *bytes,int32_t n,char *hex) { int32_t adjust,i = 0; //printf("decode.(%s)\n",hex); - if ( is_hexstr(hex,n) < 2 ) + if ( is_hexstr(hex,n) <= 0 ) { memset(bytes,0,n); return(n);