-
Notifications
You must be signed in to change notification settings - Fork 89
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
Feature/balance #9
Conversation
unified service to store all balances single number representing balance + some magic to split balances into two pieces TODO: Single service for all balance components
Test subscription (update after 5 seconds) remove junk
Fixed balances UI now does: 5.00000 => 5 (without .)
Please fix the linter issues, as this is not acceptable.
|
} | ||
} | ||
|
||
constructor(total: number, pub: number, priv: number, stake: number) { |
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.
We are duplicating references here.. Lefts try and keep one of each variable..
|
||
typeOfBalance: string; | ||
setTimeout(_ => this.rpc_loadBalance()); //load initial balances |
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.
bad comment, linter issue
It can connect to RPC. It lacks error handling and quite a few features, but its a start
Testing coverage