aboutsummaryrefslogtreecommitdiff
path: root/src/test/util
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-08-27 12:58:54 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-09-16 18:47:12 +0200
commitfa086ef5398b5ffded86e4f0d6633c523cb774e9 (patch)
tree3cd3dd22e9b06f5501842cd92f4367beeddc0a62 /src/test/util
parent58e02395bad59359cc0210f2ab633d0a82827ba4 (diff)
test: Remove unused ~TestChain100Setup
segwitheight is already 0 for regtest
Diffstat (limited to 'src/test/util')
-rw-r--r--src/test/util/setup_common.cpp5
-rw-r--r--src/test/util/setup_common.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp
index cabc4b3b49..3d8bd471da 100644
--- a/src/test/util/setup_common.cpp
+++ b/src/test/util/setup_common.cpp
@@ -304,11 +304,6 @@ CMutableTransaction TestChain100Setup::CreateValidMempoolTransaction(CTransactio
return mempool_txn;
}
-TestChain100Setup::~TestChain100Setup()
-{
- gArgs.ForceSetArg("-segwitheight", "0");
-}
-
CTxMemPoolEntry TestMemPoolEntryHelper::FromTx(const CMutableTransaction& tx) const
{
return FromTx(MakeTransactionRef(tx));
diff --git a/src/test/util/setup_common.h b/src/test/util/setup_common.h
index 5d12dc2323..118ac62290 100644
--- a/src/test/util/setup_common.h
+++ b/src/test/util/setup_common.h
@@ -145,8 +145,6 @@ struct TestChain100Setup : public RegTestingSetup {
CAmount output_amount = CAmount(1 * COIN),
bool submit = true);
- ~TestChain100Setup();
-
std::vector<CTransactionRef> m_coinbase_txns; // For convenience, coinbase transactions
CKey coinbaseKey; // private/public key needed to spend coinbase transactions
};