diff options
author | glozow <gloriajzhao@gmail.com> | 2023-05-11 17:54:39 +0100 |
---|---|---|
committer | glozow <gloriajzhao@gmail.com> | 2023-10-02 10:13:38 +0100 |
commit | 5b9087a9a7da2602485e85e0b163dc3cbd2daf31 (patch) | |
tree | f55133d2e66afcf575a484119d94b038527b43b1 /test | |
parent | e32ba1599c599e75b1da3393f71f633de860505f (diff) | |
download | bitcoin-5b9087a9a7da2602485e85e0b163dc3cbd2daf31.tar.xz |
[rpc] require package to be a tree in submitpackage
Diffstat (limited to 'test')
-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 9c4960aa1e..5644a9f5a8 100755 --- a/test/functional/rpc_packages.py +++ b/test/functional/rpc_packages.py @@ -335,7 +335,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 chain_hex = [t["hex"] for t in self.wallet.create_self_transfer_chain(chain_length=25)] - assert_raises_rpc_error(-25, "not-child-with-parents", node.submitpackage, chain_hex) + assert_raises_rpc_error(-25, "package topology disallowed", node.submitpackage, chain_hex) if __name__ == "__main__": |