aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2021-03-16 19:32:22 -0400
committerCarl Dong <contact@carldong.me>2021-03-24 15:40:56 -0400
commite62067e7bcad5a559899afff2e4a8e8b7e9f4301 (patch)
tree379f11afc3d9de21963a8d085902cfd3bfa572b1 /src/miner.h
parenteede0647b06b6009080c4e536a2705e911d6ee19 (diff)
downloadbitcoin-e62067e7bcad5a559899afff2e4a8e8b7e9f4301.tar.xz
Revert "miner: Pass in chainstate to BlockAssembler::CreateNewBlock"
This reverts commit d0de61b764fc7e9c670b69d8210705da296dd245.
Diffstat (limited to 'src/miner.h')
-rw-r--r--src/miner.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/miner.h b/src/miner.h
index 06af570130..c1ef49dea9 100644
--- a/src/miner.h
+++ b/src/miner.h
@@ -159,7 +159,6 @@ public:
/** Construct a new block template with coinbase to scriptPubKeyIn */
std::unique_ptr<CBlockTemplate> CreateNewBlock(const CScript& scriptPubKeyIn);
- std::unique_ptr<CBlockTemplate> CreateNewBlock(CChainState& chainstate, const CScript& scriptPubKeyIn);
inline static std::optional<int64_t> m_last_block_num_txs{};
inline static std::optional<int64_t> m_last_block_weight{};