mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 14:35: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,9 +891,11 @@ class Planetmint(object):
|
|||||||
if self.has_validator_set_changed(transaction):
|
if self.has_validator_set_changed(transaction):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
if transaction.operation == VALIDATOR_ELECTION:
|
||||||
if not self.has_validator_election_concluded():
|
if not self.has_validator_election_concluded():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
if transaction.operation == CHAIN_MIGRATION_ELECTION:
|
||||||
if not self.has_chain_migration_concluded():
|
if not self.has_chain_migration_concluded():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user