Merge pull request #210 from junderw/patch-1

Don't add padding to P2WSH
This commit is contained in:
OutCast3k
2020-02-23 19:55:14 +00:00
committed by GitHub
+1 -1
View File
@@ -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;
}