Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
prasannavl committed Sep 10, 2024
1 parent 3799e36 commit f9db4e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,8 @@ namespace pos {
pcustomcsview->GetBlockTimes(operatorId, blockHeight, creationHeight, *timeLock)[subNode];
const auto attributes = pcustomcsview->GetAttributes();
CDataStructureV0 enabledKey{AttributeTypes::Param, ParamIDs::Feature, DFIPKeys::AscendingBlockTime};
ascendingEnabled = attributes->GetValue(enabledKey, false) || gArgs.GetBoolArg("-ascendingstaketime", false);
ascendingEnabled =
attributes->GetValue(enabledKey, false) || gArgs.GetBoolArg("-ascendingstaketime", false);
}

auto nBits = pos::GetNextWorkRequired(tip, blockTime, chainparams.GetConsensus());
Expand Down

0 comments on commit f9db4e7

Please sign in to comment.