test: expect Should not specify proTxHash error when flag is 0x01

This commit is contained in:
UdjinM6 2024-08-09 00:33:53 +03:00
parent 7a32a409c0
commit f18b4e8ca9
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9

View File

@ -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",