mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
test: expect Should not specify proTxHash
error when flag is 0x01
This commit is contained in:
parent
7a32a409c0
commit
f18b4e8ca9
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user