aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_balance.py
diff options
context:
space:
mode:
authorglozow <gloriajzhao@gmail.com>2022-03-08 11:07:39 +0000
committerglozow <gloriajzhao@gmail.com>2022-03-25 16:02:37 +0000
commitda2bc865d644f6be748c305556bdd02f02d1b161 (patch)
tree3f3837c1337e0a6221d38cf9bbece568591ede61 /test/functional/wallet_balance.py
parentc9ed9927bbb7c422c4e01c0c1adc9722b8671009 (diff)
[wallet] don't create long chains by default
Diffstat (limited to 'test/functional/wallet_balance.py')
-rwxr-xr-xtest/functional/wallet_balance.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/wallet_balance.py b/test/functional/wallet_balance.py
index 0cfbefb719..0c93821e7f 100755
--- a/test/functional/wallet_balance.py
+++ b/test/functional/wallet_balance.py
@@ -50,7 +50,9 @@ class WalletTest(BitcoinTestFramework):
self.num_nodes = 2
self.setup_clean_chain = True
self.extra_args = [
- ['-limitdescendantcount=3'], # Limit mempool descendants as a hack to have wallet txs rejected from the mempool
+ # Limit mempool descendants as a hack to have wallet txs rejected from the mempool.
+ # Set walletrejectlongchains=0 so the wallet still creates the transactions.
+ ['-limitdescendantcount=3', '-walletrejectlongchains=0'],
[],
]