0
0
Fork 0
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:
MarcoFalke 2021-08-27 12:58:54 +02:00
parent 58e02395ba
commit fa086ef539
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
2 changed files with 0 additions and 7 deletions

View file

@ -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));

View file

@ -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
}; };