mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
59db773eac
## Issue being fixed or feature implemented ## What was done? Currently, `CDeterministicMNStateDiff` is unserialized incorrectly when the bit of `Field_pubKeyOperator` is on. Why? Because it attempts to read all other fields as `CBLSLazyPublicKey`. `if (obj.fields & Field_pubKeyOperator) {\ // ---> This check is always true for all the fields READWRITE(CBLSLazyPublicKeyVersionWrapper(const_cast<CBLSLazyPublicKey&>(obj.state.pubKeyOperator), true)); \ }` ## 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 |
||
---|---|---|
.. | ||
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 |