-
Notifications
You must be signed in to change notification settings - Fork 58
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
wrapper: Allow wrapper to set accounts manually #93
Conversation
* @param {Array<string>} accounts | ||
* @return {void} | ||
*/ | ||
setAccounts (accounts) { |
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.
A little bit confused about the type accounts
should be; getAccounts()
apparently returns a Promise
but setAccounts()
takes in an array?
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.
getAccounts
returns a promise because it falls back to calling via Web3, which returns a promise.
I will move accounts
as an optional parameter to init
, but getAccounts
will always be a promise.
works w tx pathing in sandbox |
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.
❤️
Closes #91
Also adds
accounts
RPC message, closes #62