fixed validate call on test case

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
Lorenz Herzberger 2022-10-12 12:43:46 +02:00
parent 65bb83e072
commit 2649b59794
No known key found for this signature in database
GPG Key ID: FA5EE906EB55316A

View File

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