tests: fix bitcoin core address tests
This commit is contained in:
parent
3f8dd30ed4
commit
eb752f8316
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ describe('Bitcoin-core', function () {
|
||||||
var address = Address.fromBase58Check(string)
|
var address = Address.fromBase58Check(string)
|
||||||
|
|
||||||
assert.notEqual(allowedNetworks.indexOf(address.version), -1, 'Invalid network')
|
assert.notEqual(allowedNetworks.indexOf(address.version), -1, 'Invalid network')
|
||||||
}, /Invalid (checksum|address length|network)/)
|
}, /(Invalid (checksum|network))|(too (short|long))/)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue