From f635cd7eceb62af5548120e2869240768439eb3b Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Fri, 9 Aug 2024 00:33:53 +0300 Subject: [PATCH] test: expect `Should not specify proTxHash` error when flag is `0x01` --- test/functional/p2p_quorum_data.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/functional/p2p_quorum_data.py b/test/functional/p2p_quorum_data.py index 7257007f8a8f6a..16350bce1cbdc7 100755 --- a/test/functional/p2p_quorum_data.py +++ b/test/functional/p2p_quorum_data.py @@ -395,6 +395,8 @@ def test_watchquorums(): def test_rpc_quorum_getdata_protx_hash(): self.log.info("Test optional proTxHash of `quorum getdata`") + assert_raises_rpc_error(-8, "Should not specify proTxHash", + mn1.node.quorum, "getdata", 0, 100, quorum_hash, 0x01, mn1.proTxHash) assert_raises_rpc_error(-8, "proTxHash missing", mn1.node.quorum, "getdata", 0, 100, quorum_hash, 0x02) assert_raises_rpc_error(-8, "proTxHash invalid",