Skip to content

Commit f23ba24

Browse files
committed
test_submitpackage: only make a chain of 3 txns
1 parent e67a345 commit f23ba24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/rpc_packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def test_submitpackage(self):
336336
self.log.info("Submitpackage only allows packages of 1 child with its parents")
337337
# Chain of 3 transactions has too many generations
338338
legacy_pool = node.getrawmempool()
339-
chain_hex = [t["hex"] for t in self.wallet.create_self_transfer_chain(chain_length=25)]
339+
chain_hex = [t["hex"] for t in self.wallet.create_self_transfer_chain(chain_length=3)]
340340
assert_raises_rpc_error(-25, "package topology disallowed", node.submitpackage, chain_hex)
341341
assert_equal(legacy_pool, node.getrawmempool())
342342

0 commit comments

Comments
 (0)