Skip to content

Switch RequestGovernanceObjectVotes from pointers to hashes - #2189

Merged
UdjinM6 merged 2 commits into
dashpay:developfrom
UdjinM6:fixRequestGovernanceObjectVotes2
Jul 25, 2018
Merged

Switch RequestGovernanceObjectVotes from pointers to hashes#2189
UdjinM6 merged 2 commits into
dashpay:developfrom
UdjinM6:fixRequestGovernanceObjectVotes2

Conversation

@UdjinM6

@UdjinM6 UdjinM6 commented Jul 20, 2018

Copy link
Copy Markdown

While searching for a bug now fixed in #2188, I noticed that we actually use these pointers only for getting hashes later. So here is an alternative (additional?) PR which replaces pointers to gobjects with their hashes and thus solves the same issue in a different way. This one however makes code a little bit less prone to errors imo and also removes some no longer used code (which is nice :)), so I would probably prefer this one over #2188.

@UdjinM6 UdjinM6 added this to the 12.4 milestone Jul 20, 2018

@gladcow gladcow left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK

@nmarley nmarley left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK

@UdjinM6
UdjinM6 merged commit a5643f8 into dashpay:develop Jul 25, 2018
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Apr 25, 2019
…2189)

* No need for pointers to gobjects, can simply use hashes in RequestGovernanceObjectVotes

* Drop `swap` and `=` in GovernanceObject

Were used for shuffling, no longer needed
@UdjinM6
UdjinM6 deleted the fixRequestGovernanceObjectVotes2 branch November 26, 2020 13:26
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