mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
test: Remove unused ~TestChain100Setup
segwitheight is already 0 for regtest
This commit is contained in:
parent
58e02395ba
commit
fa086ef539
2 changed files with 0 additions and 7 deletions
|
@ -304,11 +304,6 @@ CMutableTransaction TestChain100Setup::CreateValidMempoolTransaction(CTransactio
|
||||||
return mempool_txn;
|
return mempool_txn;
|
||||||
}
|
}
|
||||||
|
|
||||||
TestChain100Setup::~TestChain100Setup()
|
|
||||||
{
|
|
||||||
gArgs.ForceSetArg("-segwitheight", "0");
|
|
||||||
}
|
|
||||||
|
|
||||||
CTxMemPoolEntry TestMemPoolEntryHelper::FromTx(const CMutableTransaction& tx) const
|
CTxMemPoolEntry TestMemPoolEntryHelper::FromTx(const CMutableTransaction& tx) const
|
||||||
{
|
{
|
||||||
return FromTx(MakeTransactionRef(tx));
|
return FromTx(MakeTransactionRef(tx));
|
||||||
|
|
|
@ -145,8 +145,6 @@ struct TestChain100Setup : public RegTestingSetup {
|
||||||
CAmount output_amount = CAmount(1 * COIN),
|
CAmount output_amount = CAmount(1 * COIN),
|
||||||
bool submit = true);
|
bool submit = true);
|
||||||
|
|
||||||
~TestChain100Setup();
|
|
||||||
|
|
||||||
std::vector<CTransactionRef> m_coinbase_txns; // For convenience, coinbase transactions
|
std::vector<CTransactionRef> m_coinbase_txns; // For convenience, coinbase transactions
|
||||||
CKey coinbaseKey; // private/public key needed to spend coinbase transactions
|
CKey coinbaseKey; // private/public key needed to spend coinbase transactions
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue