Skip to content

Commit 50633c0

Browse files
committed
test: expect Should not specify proTxHash error when flag is 0x01
1 parent 703a783 commit 50633c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/functional/p2p_quorum_data.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,8 @@ def test_watchquorums():
395395

396396
def test_rpc_quorum_getdata_protx_hash():
397397
self.log.info("Test optional proTxHash of `quorum getdata`")
398+
assert_raises_rpc_error(-8, "Should not specify proTxHash",
399+
mn1.node.quorum, "getdata", 0, 100, quorum_hash, 0x01, mn1.proTxHash)
398400
assert_raises_rpc_error(-8, "proTxHash missing",
399401
mn1.get_node(self).quorum, "getdata", 0, 100, quorum_hash, 0x02)
400402
assert_raises_rpc_error(-8, "proTxHash invalid",

0 commit comments

Comments
 (0)