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
commit 6bb5e3785a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}