Browse Source

Address now properly checks malformed base58

hk-custom-address
Daniel Cousens 11 years ago
parent
commit
12a5b75cbe
  1. 2
      test/address.js

2
test/address.js

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

Loading…
Cancel
Save