From 1f9dbcae204575fb05c570cd2e068c9235aff35d Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 19 Jan 2018 20:33:28 +0200 Subject: [PATCH] Test --- iguana/segwit_addr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/segwit_addr.c b/iguana/segwit_addr.c index 9d48e571a..2c01ac85a 100644 --- a/iguana/segwit_addr.c +++ b/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) {