-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat: Get bank pv #89
feat: Get bank pv #89
Conversation
The |
src/bank.ts
Outdated
* Gets the PrimaryValidator for the current bank. | ||
*/ | ||
async getBankPV() { | ||
const { primary_validator } = await await this.getConfig(); |
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.
this looks like a new way to write awaits, does it work?
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.
Haha I accidentally wrote await twice, my bad 😅. Not sure how I missed that
test bank class task created #90 |
Hey, @AbhayAysola can we have the |
Done |
@zinoadidi The PR looks good! |
Thanks @tomijaga, @AbhayAysola |
Closes #84
Account Number: 8928526805de48e4bf2ed2a9b4b839e6b2603018ecdfbf4cffdb2065e01a3ed1