Skip to content

Commit fa086ef

Browse files
author
MarcoFalke
committed
test: Remove unused ~TestChain100Setup
segwitheight is already 0 for regtest
1 parent 58e0239 commit fa086ef

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/test/util/setup_common.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,6 @@ CMutableTransaction TestChain100Setup::CreateValidMempoolTransaction(CTransactio
304304
return mempool_txn;
305305
}
306306

307-
TestChain100Setup::~TestChain100Setup()
308-
{
309-
gArgs.ForceSetArg("-segwitheight", "0");
310-
}
311-
312307
CTxMemPoolEntry TestMemPoolEntryHelper::FromTx(const CMutableTransaction& tx) const
313308
{
314309
return FromTx(MakeTransactionRef(tx));

src/test/util/setup_common.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ struct TestChain100Setup : public RegTestingSetup {
145145
CAmount output_amount = CAmount(1 * COIN),
146146
bool submit = true);
147147

148-
~TestChain100Setup();
149-
150148
std::vector<CTransactionRef> m_coinbase_txns; // For convenience, coinbase transactions
151149
CKey coinbaseKey; // private/public key needed to spend coinbase transactions
152150
};

0 commit comments

Comments
 (0)