diff options
author | woodser <woodser@protonmail.com> | 2018-05-18 10:31:46 -0400 |
---|---|---|
committer | woodser <woodser@protonmail.com> | 2018-05-18 10:31:46 -0400 |
commit | 6df5b2a1004c99e82d33c4070a25ee94157301f8 (patch) | |
tree | 06d01df623425a79addf37a66475b28c973b52aa /src/js | |
parent | 29c30bf33ae079c55007d8738d077d10d40bca2b (diff) | |
download | BIP39-6df5b2a1004c99e82d33c4070a25ee94157301f8.tar.gz BIP39-6df5b2a1004c99e82d33c4070a25ee94157301f8.tar.zst BIP39-6df5b2a1004c99e82d33c4070a25ee94157301f8.zip |
increase maximum payload length for zcash
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/bitcoinjs-3.3.2.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/bitcoinjs-3.3.2.js b/src/js/bitcoinjs-3.3.2.js index 2390168..0a6c588 100644 --- a/src/js/bitcoinjs-3.3.2.js +++ b/src/js/bitcoinjs-3.3.2.js | |||
@@ -8642,7 +8642,7 @@ function fromBase58Check (address) { | |||
8642 | 8642 | ||
8643 | // TODO: 4.0.0, move to "toOutputScript" | 8643 | // TODO: 4.0.0, move to "toOutputScript" |
8644 | if (payload.length < 21) throw new TypeError(address + ' is too short') | 8644 | if (payload.length < 21) throw new TypeError(address + ' is too short') |
8645 | if (payload.length > 21) throw new TypeError(address + ' is too long') | 8645 | if (payload.length > 22) throw new TypeError(address + ' is too long') |
8646 | 8646 | ||
8647 | var version = payload.readUInt8(0) | 8647 | var version = payload.readUInt8(0) |
8648 | var hash = payload.slice(1) | 8648 | var hash = payload.slice(1) |