[Bug] Account.isValidPair
throwing errors on invalid seed lengths and seed chars
#151
Labels
PR Reward - 50
Reward in coin(s)
Milestone
Describe the bug
Account.isValidPair
static method is throwing errors on invalid keys (i.e. bad length, invalid hex chars).To Reproduce
Steps to reproduce the behavior:
tests/account.test.js
npm test
Expected behavior
Account.isValidPair
should just return whether the pair is valid or not, no matter whether the strings are the wrong size or don't include valid hex characters. It should not be throwing any errors at all.The text was updated successfully, but these errors were encountered: