Skip to content

Conversation

@ogabrielides
Copy link

@ogabrielides ogabrielides commented Mar 28, 2023

Issue being fixed or feature implemented

GetProjectedMNPayees wasn't projecting MN payees correctly.

What was done?

HPMNs are now added 4 times before sorting the return list.
In addition, the case of last payee being HPMN and having still pending payments is handled.

How Has This Been Tested?

Tested on Masternodes / Next Payment tab on Qt client on Testnet.

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@ogabrielides
Copy link
Author

@PastaPastaPasta how about now?

@ogabrielides
Copy link
Author

@UdjinM6 What about now?

@ogabrielides ogabrielides requested a review from UdjinM6 March 29, 2023 20:39
@ogabrielides ogabrielides requested a review from UdjinM6 March 30, 2023 14:27
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

LGTM, utACK

Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

utACK for squash merge

@PastaPastaPasta PastaPastaPasta merged commit 2d89442 into dashpay:develop Mar 30, 2023
@ogabrielides ogabrielides deleted the projected_hpmn_payments_fix branch March 30, 2023 15:10
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Mar 30, 2023
## Issue being fixed or feature implemented
`GetProjectedMNPayees` wasn't projecting MN payees correctly.

## What was done?
HPMNs are now added 4 times before sorting the return list.
In addition, the case of last payee being HPMN and having still pending
payments is handled.


## How Has This Been Tested?
Tested on Masternodes / Next Payment tab on Qt client on Testnet.

## Breaking Changes


## Checklist:
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added or updated relevant unit/integration/functional/e2e
tests
- [ ] I have made corresponding changes to the documentation

**For repository code-owners and collaborators only**
- [x] I have assigned this pull request to a milestone
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