mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
[miner] always assume we can create witness blocks
Given the low possibility of a reorg reverting the segwit soft fork, there is no need to check whether segwit is active here. Also, TestBlockValidity is run on the block template after it has been created.
This commit is contained in:
@@ -132,7 +132,6 @@ private:
|
||||
std::unique_ptr<CBlockTemplate> pblocktemplate;
|
||||
|
||||
// Configuration parameters for the block size
|
||||
bool fIncludeWitness;
|
||||
unsigned int nBlockMaxWeight;
|
||||
CFeeRate blockMinFeeRate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user