*: throw new Error over assert(false, ...
This commit is contained in:
parent
41c102be66
commit
97c4de9da6
3 changed files with 4 additions and 4 deletions
src
|
@ -20,7 +20,7 @@ function findBIP32NetworkByVersion (version) {
|
|||
}
|
||||
}
|
||||
|
||||
assert(false, 'Could not find network for ' + version.toString(16))
|
||||
throw new Error('Could not find network for ' + version.toString(16))
|
||||
}
|
||||
|
||||
function HDNode (keyPair, chainCode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue