-
Notifications
You must be signed in to change notification settings - Fork 92
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
Only count stakes in main chain #636
Conversation
@aguycalled I added a new scenario to the |
A new build of 0fe4ec2 has completed succesfully! |
A new build of dd1e801 has completed succesfully! |
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.
Confirmed staking report is correct after re-org/orphan.
Looks good. Stake counters are correct. Thanks guys. |
* Only count stakes in main chain * Fixed a function call * Updated the test to include the scenario for navcoin#636
* Only count stakes in main chain * Fixed a function call * Updated the test to include the scenario for navcoin#636
* Only count stakes in main chain * Fixed a function call * Updated the test to include the scenario for navcoin#636
This pull request fixes the count of stakes in the Staking tab of the GUI and the
getstakereport
RPC command.What to test
Stake count still shows the correct number even if there are orphans or blocks are invalidated.