diff options
Diffstat (limited to 'src/miner.cpp')
-rw-r--r-- | src/miner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/miner.cpp b/src/miner.cpp index fbaef0f224..53404e2b9d 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -96,8 +96,8 @@ void BlockAssembler::resetBlock() nFees = 0; } -Optional<int64_t> BlockAssembler::m_last_block_num_txs{nullopt}; -Optional<int64_t> BlockAssembler::m_last_block_weight{nullopt}; +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) { |