HDNode: use throw over assert

This commit is contained in:
Daniel Cousens 2015-07-28 17:30:14 +10:00
parent 430cdde766
commit bdf92f73b4
2 changed files with 16 additions and 15 deletions
test/fixtures

View file

@ -203,7 +203,7 @@
"string": "1111111111111adADjFaSNPxwXqLjHLj4mBfYxuewDPbw9hEj1uaXCzMxRPXDFF3cUoezTFYom4sEmEVSQmENPPR315cFk9YUFVek73wE9"
},
{
"exception": "Network doesn\\'t match",
"exception": "Invalid network",
"string": "Ltpv73XYpw28ZyVe2zEVyiFnxUZxoKLGQNdZ8NxUi1WcqjNmMBgtLbh3KimGSnPHCoLv1RmvxHs4dnKmo1oXQ8dXuDu8uroxrbVxZPA1gXboYvx",
"network": "bitcoin"
}