mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 06:25:45 +00:00
adjusted has_election_concluded
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
f6c5116266
commit
b2ad780659
@ -891,11 +891,13 @@ class Planetmint(object):
|
||||
if self.has_validator_set_changed(transaction):
|
||||
return False
|
||||
|
||||
if not self.has_validator_election_concluded():
|
||||
return False
|
||||
if transaction.operation == VALIDATOR_ELECTION:
|
||||
if not self.has_validator_election_concluded():
|
||||
return False
|
||||
|
||||
if not self.has_chain_migration_concluded():
|
||||
return False
|
||||
if transaction.operation == CHAIN_MIGRATION_ELECTION:
|
||||
if not self.has_chain_migration_concluded():
|
||||
return False
|
||||
|
||||
election_pk = election_id_to_public_key(transaction.id)
|
||||
votes_committed = self.get_commited_votes(transaction, election_pk)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user