diff options
author | woodser <woodser@protonmail.com> | 2018-05-21 11:05:49 -0400 |
---|---|---|
committer | woodser <woodser@protonmail.com> | 2018-05-21 11:05:49 -0400 |
commit | 55b878d8d55639cea6d5cd0755194e0e768ba4de (patch) | |
tree | 3f0e03a33fdf30c3cbbb285eb2ec5af4e16ff4b9 /src | |
parent | 6df5b2a1004c99e82d33c4070a25ee94157301f8 (diff) | |
download | BIP39-55b878d8d55639cea6d5cd0755194e0e768ba4de.tar.gz BIP39-55b878d8d55639cea6d5cd0755194e0e768ba4de.tar.zst BIP39-55b878d8d55639cea6d5cd0755194e0e768ba4de.zip |
undo zcash max payload length fix
Diffstat (limited to 'src')
-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 0a6c588..2390168 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 > 22) throw new TypeError(address + ' is too long') | 8645 | if (payload.length > 21) 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) |