adjusted has_election_concluded

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
Lorenz Herzberger 2022-10-10 10:38:16 +02:00
parent f6c5116266
commit b2ad780659
No known key found for this signature in database
GPG Key ID: FA5EE906EB55316A

View File

@ -891,9 +891,11 @@ class Planetmint(object):
if self.has_validator_set_changed(transaction):
return False
if transaction.operation == VALIDATOR_ELECTION:
if not self.has_validator_election_concluded():
return False
if transaction.operation == CHAIN_MIGRATION_ELECTION:
if not self.has_chain_migration_concluded():
return False