88f7bf0d82
* Don't delete/add values to the unique property map when it's null This happens when revoking operator keys, as the revoked MN will then have the address and operator keys set to the null representation. We shouldn't add the null value to the unique property map as otherwise future revokes crash in an assert. * Assert that no null values are passed to Add/DeleteUniqueProperty * Check for null values before calling Add/DeleteUniqueProperty * Apply suggestions from code review Co-Authored-By: codablock <ablock84@gmail.com> * Add user generated default constructors to BLS primitives Fixes build issues on Mac: In file included from evo/deterministicmns.cpp:5: ./evo/deterministicmns.h:375:24: error: default initialization of an object of const type 'const CBLSPublicKey' without a user-provided default constructor static const T nullValue; ^ |
||
---|---|---|
.. | ||
cbtx.cpp | ||
cbtx.h | ||
deterministicmns.cpp | ||
deterministicmns.h | ||
evodb.cpp | ||
evodb.h | ||
providertx.cpp | ||
providertx.h | ||
simplifiedmns.cpp | ||
simplifiedmns.h | ||
specialtx.cpp | ||
specialtx.h |