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

[RPC][BUG] Fix ActivateBestChain calls in reconsider(invalidate)block #1828

Merged

Conversation

random-zebra
Copy link

The third argument of ABC should be fAlreadyChecked (defaulted to false).
In reconsiderblock and invalidateblock RPC, the pointer returned by g_connman.get() (which can be automatically cast to bool) is improperly added as third (instead of fourth) argument.

The third argument of ABC should be `fAlreadyChecked` (defaulted to
false).
In reconsiderblock and invalidateblock RPC, `g_connman.get()` (which can
be automatically cast to bool) is improperly added as third (instead of
fourth) argument.
Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

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

We have to be really careful, great catch.
ACK 14a3f7d.

Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

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

ACK 14a3f7d

@random-zebra random-zebra merged commit 4fc36b5 into PIVX-Project:master Sep 6, 2020
@random-zebra random-zebra modified the milestones: 5.0.0, 4.3.0 Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants