We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MigrateLegacyDiffs()
nVersion
1 parent d56bff5 commit 65c33eaCopy full SHA for 65c33ea
src/evo/deterministicmns.cpp
@@ -1496,9 +1496,9 @@ bool CDeterministicMNManager::MigrateLegacyDiffs(const CBlockIndex* const tip_in
1496
stateDiff.fields |= CDeterministicMNStateDiff::Field_nVersion;
1497
stateDiff.state.nVersion = dmn->pdmnState->nVersion;
1498
}
1499
- if (stateDiff.fields & CDeterministicMNStateDiff::Field_pubKeyOperator) {
1500
- stateDiff.state.pubKeyOperator.SetLegacy(stateDiff.state.nVersion == ProTxVersion::LegacyBLS);
1501
- }
+ }
+ if (stateDiff.fields & CDeterministicMNStateDiff::Field_pubKeyOperator) {
+ stateDiff.state.pubKeyOperator.SetLegacy(stateDiff.state.nVersion == ProTxVersion::LegacyBLS);
1502
1503
convertedDiff.updatedMNs.emplace(internalId, stateDiff);
1504
0 commit comments