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

Inconsistency in "stakingoptions" RPC #1

Closed
glemercier opened this issue May 22, 2019 · 1 comment
Closed

Inconsistency in "stakingoptions" RPC #1

glemercier opened this issue May 22, 2019 · 1 comment

Comments

@glemercier
Copy link

In the following piece of code:

if (nStakeCombineThreshold < 100000 * COIN || nStakeCombineThreshold > 200000 * COIN) {
AppendError(sError, "\"stakecombinethreshold\" must be >= 10000 and <= 200000.");
nStakeCombineThreshold = 100000 * COIN;
}

The error states stakecombinethreshold should be higher than 10000 but is tested against 100000. This yields to the user not understanding what is actually wrong in the provided values.

@xdustinface
Copy link
Collaborator

Thanks for reporting. Fixed it, will be included in the next release.

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

No branches or pull requests

2 participants