mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 14:35:45 +00:00
fixed validate call on test case
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
65bb83e072
commit
2649b59794
@ -244,7 +244,7 @@ def test_upsert_validator(b, node_key, node_keys, ed25519_node_keys):
|
||||
assert b.get_transaction(election.id)
|
||||
|
||||
tx_vote = gen_vote(election, 0, ed25519_node_keys)
|
||||
assert tx_vote.validate(b)
|
||||
assert b.validate_transaction(tx_vote)
|
||||
code, message = b.write_transaction(tx_vote, BROADCAST_TX_COMMIT)
|
||||
assert code == 202
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user