-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve sanitaze function #55
Conversation
} | ||
if (!fs.existsSync(filePath.trim())) { | ||
return message || 'Couldn’t locate keystore file or directory.'; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it duplication?
base64: publicKey, | ||
}, | ||
error.message, | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we provide also operator ID in this exception? It will help higher layers of software to identify operator by ID and easily for instance highlight it in interface or similar
Before merging this, there was message from @arielssv about breaking change with |
* multi-shares logic and improvements in design * new logic * fix examples and tests * import/export improvement * update examples * updated tests * updated tests * add keyshares construct init new flow * update build
* add more covered tests and updated errors * version up to 1.0.7
Fixes #<issue_number_goes_here>