mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
refactor: removed duplicated meaningless condition from Check mnhftx
This commit is contained in:
parent
17110f50b3
commit
0351469bb5
@ -231,12 +231,9 @@ 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});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
AddToCache(signals, pindex);
|
||||
return signals;
|
||||
} catch (const std::exception& e) {
|
||||
|
Loading…
Reference in New Issue
Block a user