Address now properly checks malformed base58
This commit is contained in:
parent
7f8dcd58cb
commit
12a5b75cbe
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue