File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -99,11 +99,6 @@ void BlockAssembler::resetBlock()
9999Optional<int64_t > BlockAssembler::m_last_block_num_txs{nullopt };
100100Optional<int64_t > BlockAssembler::m_last_block_weight{nullopt };
101101
102- std::unique_ptr<CBlockTemplate> BlockAssembler::CreateNewBlock (const CScript& scriptPubKeyIn)
103- {
104- return CreateNewBlock (::ChainstateActive (), scriptPubKeyIn);
105- }
106-
107102std::unique_ptr<CBlockTemplate> BlockAssembler::CreateNewBlock (CChainState& chainstate, const CScript& scriptPubKeyIn)
108103{
109104 int64_t nTimeStart = GetTimeMicros ();
Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ class BlockAssembler
158158 explicit BlockAssembler (const CTxMemPool& mempool, const CChainParams& params, const Options& options);
159159
160160 /* * Construct a new block template with coinbase to scriptPubKeyIn */
161- std::unique_ptr<CBlockTemplate> CreateNewBlock (const CScript& scriptPubKeyIn);
162161 std::unique_ptr<CBlockTemplate> CreateNewBlock (CChainState& chainstate, const CScript& scriptPubKeyIn);
163162
164163 static Optional<int64_t > m_last_block_num_txs;
You can’t perform that action at this time.
0 commit comments