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

[Wallet] Remove (explicitely) unused tx comparator #939

Merged
merged 1 commit into from
Jul 28, 2019

Conversation

Warrows
Copy link

@Warrows Warrows commented Jul 2, 2019

'==' and '!=' operators in CMutableTransaction are never used explicitly.
Them being used implicitly is probably what causes #510. There is no good reason to keep them and BTC removed them here: bitcoin#13443
Should fix #510

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

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

utACK 1f224d3

@furszy furszy self-requested a review July 10, 2019 12:16
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.

utACK 1f224d3

We remove the '==' and '!=' operators from CMutableTransaction.
These comparators are never explicitely used in our code.
As it turns out, it was used implicitely and created this situation:
PIVX-Project#510
So this change fixes PIVX-Project#510.
@Warrows
Copy link
Author

Warrows commented Jul 11, 2019

Rebased without change (to pass travis after #943 being merged).

@Warrows Warrows added this to the 4.0.0 milestone Jul 17, 2019
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 3da857b

@Fuzzbawls Fuzzbawls merged commit 3da857b into PIVX-Project:master Jul 28, 2019
Fuzzbawls added a commit that referenced this pull request Jul 28, 2019
3da857b [Wallet] Remove (explicitely) unused tx comparator (warrows)

Pull request description:

  '==' and '!=' operators in CMutableTransaction are never used explicitly.
  Them being used implicitly is probably what causes #510. There is no good reason to keep them and BTC removed them here: bitcoin#13443
  Should fix #510

ACKs for top commit:
  Fuzzbawls:
    ACK 3da857b

Tree-SHA512: f5874d794b0a43b1290c977b10d16b1a8078b09862886f34bcdcc65e5a1ef2b9eb1c3e43dfe4711861609cf5a6c92d35180e37a95f5d5afcbac16854d5189dee
@Warrows Warrows deleted the 2019_fix_510 branch July 28, 2019 08:05
@random-zebra random-zebra modified the milestones: 4.0.0, 3.4.0 Aug 25, 2019
lyricidal added a commit to TheArcadiaGroup/DAPS that referenced this pull request Oct 10, 2019
We remove the '==' and '!=' operators from CMutableTransaction.
These comparators are never explicitely used in our code.

PIVX-Project/PIVX#939
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.

Orphaned transaction time mismatch
4 participants