refactor: post Optional<> removal cleanups

This commit is contained in:
fanquake
2021-03-15 11:59:05 +08:00
parent 57e980d13c
commit ebc4ab721b
37 changed files with 53 additions and 39 deletions

View File

@@ -96,9 +96,6 @@ void BlockAssembler::resetBlock()
nFees = 0;
}
std::optional<int64_t> BlockAssembler::m_last_block_num_txs{std::nullopt};
std::optional<int64_t> BlockAssembler::m_last_block_weight{std::nullopt};
std::unique_ptr<CBlockTemplate> BlockAssembler::CreateNewBlock(CChainState& chainstate, const CScript& scriptPubKeyIn)
{
int64_t nTimeStart = GetTimeMicros();