diff options
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 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) |