Skip to content

Commit

Permalink
test: expect Should not specify proTxHash error when flag is 0x01
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Aug 9, 2024
1 parent 37c9c53 commit f635cd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/functional/p2p_quorum_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f635cd7

Please sign in to comment.