*: throw new Error over assert(false, ...

This commit is contained in:
Daniel Cousens 2015-06-23 16:43:17 +10:00
parent 41c102be66
commit 97c4de9da6
3 changed files with 4 additions and 4 deletions

View file

@ -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) {