HDNode: use throw over assert
This commit is contained in:
parent
430cdde766
commit
bdf92f73b4
2 changed files with 16 additions and 15 deletions
test/fixtures
2
test/fixtures/hdnode.json
vendored
2
test/fixtures/hdnode.json
vendored
|
@ -203,7 +203,7 @@
|
|||
"string": "1111111111111adADjFaSNPxwXqLjHLj4mBfYxuewDPbw9hEj1uaXCzMxRPXDFF3cUoezTFYom4sEmEVSQmENPPR315cFk9YUFVek73wE9"
|
||||
},
|
||||
{
|
||||
"exception": "Network doesn\\'t match",
|
||||
"exception": "Invalid network",
|
||||
"string": "Ltpv73XYpw28ZyVe2zEVyiFnxUZxoKLGQNdZ8NxUi1WcqjNmMBgtLbh3KimGSnPHCoLv1RmvxHs4dnKmo1oXQ8dXuDu8uroxrbVxZPA1gXboYvx",
|
||||
"network": "bitcoin"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue