mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01:00
49271358ee
## Issue being fixed or feature implemented When constructing `CSimplifiedMNListDiff`, `CSimplifiedMNListDiff::nVersion` is set to 2 if the v19 fork is active. It turns out that `CSimplifiedMNListEntry::nVersion` wasn't set to 2 as well as it was supposed. Because we used `emplace_back` when filling the list of `CSimplifiedMNListEntry`, this actually constructed the object with the default value of 1 instead of copying it. Surprising but I managed to see that while debugging. ## What was done? ## How Has This Been Tested? ## Breaking Changes ## Checklist: - [x] 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** - [x] I have assigned this pull request to a milestone Co-authored-by: pasta <pasta@dashboost.org> |
||
---|---|---|
.. | ||
cbtx.cpp | ||
cbtx.h | ||
deterministicmns.cpp | ||
deterministicmns.h | ||
dmnstate.cpp | ||
dmnstate.h | ||
evodb.cpp | ||
evodb.h | ||
mnauth.cpp | ||
mnauth.h | ||
mnhftx.cpp | ||
mnhftx.h | ||
providertx.cpp | ||
providertx.h | ||
simplifiedmns.cpp | ||
simplifiedmns.h | ||
specialtx.cpp | ||
specialtx.h | ||
specialtxman.cpp | ||
specialtxman.h |