From 55606319c1edf0c0b821487c7d64c7ebf0607e5a Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 19 Jan 2018 20:49:40 +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 649b82162..c0fa17d0f 100644 --- a/iguana/segwit_addr.c +++ b/iguana/segwit_addr.c @@ -109,7 +109,7 @@ int bech32_encode(char *output, const char *hrp, const uint8_t *data, size_t dat chk ^= 1; printf("emit >>>>>>> "); for (i = 0; i < chklen; ++i) { - *output = charset[(chk >> ((checklen - 1 - i) * 5)) & 0x1f]; + *output = charset[(chk >> ((chklen - 1 - i) * 5)) & 0x1f]; printf("%c",*output); output++; }