mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
refactor: removed duplicated meaningless condition from Check mnhftx
This commit is contained in:
parent
17110f50b3
commit
0351469bb5
@ -231,10 +231,7 @@ std::optional<CMNHFManager::Signals> CMNHFManager::ProcessBlock(const CBlock& bl
|
||||
return signals;
|
||||
}
|
||||
for (const auto& versionBit : new_signals) {
|
||||
if (Params().IsValidMNActivation(versionBit, pindex->GetMedianTimePast())) {
|
||||
signals.insert({versionBit, mined_height});
|
||||
}
|
||||
|
||||
signals.insert({versionBit, mined_height});
|
||||
}
|
||||
|
||||
AddToCache(signals, pindex);
|
||||
|
Loading…
Reference in New Issue
Block a user