jl777 7 years ago
parent
commit
56a143be9f
  1. 6
      iguana/segwit_addr.c

6
iguana/segwit_addr.c

@ -162,11 +162,7 @@ int bech32_decode(char* hrp, uint8_t *data, size_t *data_len, const char *input)
printf("bech32_decode: have_lower.%d have_upper.%d\n",have_lower,have_upper);
return 0;
}
if ( chk == 0 )
{
printf("checksum failure chk.%d\n",chk);
//return(1);
}
printf("checksum chk.%d lower.%d upper.%d inputlen.%d\n",chk,have_lower,have_upper,(int32_t)input_len);
return chk == 1;
}

Loading…
Cancel
Save