Skip to content

[RPC][TierTwo][Bug] Initialize un-initialized MNsInfo member total#2576

Closed
Fuzzbawls wants to merge 2 commits intoPIVX-Project:masterfrom
Fuzzbawls:2021_masternode-count
Closed

[RPC][TierTwo][Bug] Initialize un-initialized MNsInfo member total#2576
Fuzzbawls wants to merge 2 commits intoPIVX-Project:masterfrom
Fuzzbawls:2021_masternode-count

Conversation

@Fuzzbawls
Copy link
Collaborator

Fixes a bug introduced in #2554 that leaves the total member of MNsInfo un-initialized by default, resulting in incorrect return results for the getmasternodecount RPC command.

Also added regression tests to exercise this command, slightly increasing code coverage

@Fuzzbawls Fuzzbawls added this to the 5.4.0 milestone Sep 28, 2021
@Fuzzbawls Fuzzbawls self-assigned this Sep 28, 2021
@furszy
Copy link

furszy commented Sep 28, 2021

This is already covered in #2565, test included.

@random-zebra
Copy link

Covered in another PR. closing

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