Skip to content
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

fix cold staking report #425

Merged
merged 3 commits into from
Feb 26, 2019

Conversation

aguycalled
Copy link
Member

This PR fixes a bug where the cold staking coins were not correctly accounted in the output of the RPC command getstakereport or the report shown on the GUI Main tab.

Copy link
Member

@matt-auckland matt-auckland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

untested ACK

@marcus290
Copy link
Contributor

@aguycalled On regtest, I'm getting the wrong display amount for coldstakes because pcoin->GetCredit(ISMINE_SPENDABLE_STAKABLE) is returning zero. Do you get the same thing?
stakereportgui

@aguycalled
Copy link
Member Author

committed 5b7a3b3

Copy link
Contributor

@marcus290 marcus290 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

manually tested on regtest. works for me

@aguycalled aguycalled merged commit 765d5be into navcoin:master Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants