From f18b4e8ca911181a87392ef23b971bac44b21a14 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 7257007f8a..16350bce1c 100755 --- a/test/functional/p2p_quorum_data.py +++ b/test/functional/p2p_quorum_data.py @@ -395,6 +395,8 @@ class QuorumDataMessagesTest(DashTestFramework): 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",