diff options
author | Greg Sanders <gsanders87@gmail.com> | 2023-11-29 11:20:43 -0500 |
---|---|---|
committer | Greg Sanders <gsanders87@gmail.com> | 2023-11-29 12:56:26 -0500 |
commit | f23ba24aa079d68697d475789cd21bd7b5075550 (patch) | |
tree | ed7488d118d3293520cec9773a5edf609daf0eb1 /test/functional | |
parent | e67a345162912ef7c1bfa3c89c7e7c629505f0a3 (diff) |
test_submitpackage: only make a chain of 3 txns
Diffstat (limited to 'test/functional')
-rwxr-xr-x | test/functional/rpc_packages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_packages.py b/test/functional/rpc_packages.py index 6feebcd124..664f2df3f1 100755 --- a/test/functional/rpc_packages.py +++ b/test/functional/rpc_packages.py @@ -336,7 +336,7 @@ class RPCPackagesTest(BitcoinTestFramework): self.log.info("Submitpackage only allows packages of 1 child with its parents") # Chain of 3 transactions has too many generations legacy_pool = node.getrawmempool() - chain_hex = [t["hex"] for t in self.wallet.create_self_transfer_chain(chain_length=25)] + chain_hex = [t["hex"] for t in self.wallet.create_self_transfer_chain(chain_length=3)] assert_raises_rpc_error(-25, "package topology disallowed", node.submitpackage, chain_hex) assert_equal(legacy_pool, node.getrawmempool()) |