Merge pull request #210 from junderw/patch-1
Don't add padding to P2WSH
This commit is contained in:
commit
6bb5e3785a
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@
|
||||||
var decode = coinjs.bech32_decode(address);
|
var decode = coinjs.bech32_decode(address);
|
||||||
if(decode){
|
if(decode){
|
||||||
decode.data.shift();
|
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;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue