thenewboston-blockchain / thenewboston-js

JavaScript library for thenewboston.
https://www.npmjs.com/package/thenewboston
MIT License
37 stars 18 forks source link

fix: `Account.isValidPair` throwing on invalid seeds #152

Closed sno2 closed 3 years ago

sno2 commented 3 years ago

Description

The issue was that Account.isValidPair was throwing errors when the seed inputs were not of valid lengths or were not actual hex characters. This PR fixes that issue and implements tests to ensure this behavior stays fixed.

Fixes #151

Type of change

Please specify the type of change in your title following the above format

Checklist:

zinoadidi commented 3 years ago

@sno2 your account number #tnbc

sno2 commented 3 years ago

@sno2 your account number #tnbc

d84543947090d300910f8d1b9604c0c0a56fafca6cfbe52511c1e31757188bca Thanks