Address now properly checks malformed base58

This commit is contained in:
Daniel Cousens 2014-04-20 05:42:36 +10:00
parent 7f8dcd58cb
commit 12a5b75cbe

View file

@ -21,7 +21,7 @@ describe('Address', function() {
it('throws on invalid base58check', function() { it('throws on invalid base58check', function() {
fixtures.malformed.forEach(function(f) { fixtures.malformed.forEach(function(f) {
assert.throws(function() { assert.throws(function() {
Address.fromBase58Check(f.base58check) Address.fromBase58Check(f)
}) })
}) })
}) })