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()
99
99
Optional<int64_t > BlockAssembler::m_last_block_num_txs{nullopt};
100
100
Optional<int64_t > BlockAssembler::m_last_block_weight{nullopt};
101
101
102
- std::unique_ptr<CBlockTemplate> BlockAssembler::CreateNewBlock (const CScript& scriptPubKeyIn)
103
- {
104
- return CreateNewBlock (::ChainstateActive (), scriptPubKeyIn);
105
- }
106
-
107
102
std::unique_ptr<CBlockTemplate> BlockAssembler::CreateNewBlock (CChainState& chainstate, const CScript& scriptPubKeyIn)
108
103
{
109
104
int64_t nTimeStart = GetTimeMicros ();
Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ class BlockAssembler
158
158
explicit BlockAssembler (const CTxMemPool& mempool, const CChainParams& params, const Options& options);
159
159
160
160
/* * Construct a new block template with coinbase to scriptPubKeyIn */
161
- std::unique_ptr<CBlockTemplate> CreateNewBlock (const CScript& scriptPubKeyIn);
162
161
std::unique_ptr<CBlockTemplate> CreateNewBlock (CChainState& chainstate, const CScript& scriptPubKeyIn);
163
162
164
163
static Optional<int64_t > m_last_block_num_txs;
You can’t perform that action at this time.
0 commit comments