From 7e92530e1af6d34df81c4b94b2f69fccba94e674 Mon Sep 17 00:00:00 2001 From: Jonathan Underwood Date: Thu, 20 Feb 2020 10:12:57 +0900 Subject: [PATCH] Don't add padding to P2WSH Fixes #209 --- js/coin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/coin.js b/js/coin.js index 2c03e14..a83d19e 100644 --- a/js/coin.js +++ b/js/coin.js @@ -203,7 +203,7 @@ var decode = coinjs.bech32_decode(address); if(decode){ decode.data.shift(); - return Crypto.util.bytesToHex(coinjs.bech32_convert(decode.data, 5, 8, true)); + return Crypto.util.bytesToHex(coinjs.bech32_convert(decode.data, 5, 8, false)); } return r; }