jl777 7 years ago
parent
commit
1f9dbcae20
  1. 2
      iguana/segwit_addr.c

2
iguana/segwit_addr.c

@ -62,7 +62,7 @@ static const int8_t charset_rev[128] = {
};
int bech32_encode(char *output, const char *hrp, const uint8_t *data, size_t data_len) {
uint64_t chk = 1; size_t i = 0; int32_t chklen = 8; //6;
uint64_t chk = 1; size_t i = 0; int32_t c,chklen = 8; //6;
while (hrp[i] != 0) {
int ch = hrp[i];
if (ch < 33 || ch > 126) {

Loading…
Cancel
Save