mirror of
https://github.com/planetmint/planetmint.git
synced 2025-06-07 06:36:38 +00:00
Solved linting errors.
This commit is contained in:
parent
0fdca70c38
commit
ddc26a0f78
@ -53,7 +53,6 @@ class App(BaseApplication):
|
||||
self.new_height = None
|
||||
self.chain = self.planetmint_node.get_latest_abci_chain()
|
||||
|
||||
|
||||
def log_abci_migration_error(self, chain_id, validators):
|
||||
logger.error('An ABCI chain migration is in process. '
|
||||
'Download theself.planetmint_node.get_latest_abci_chain new ABCI client and configure it with '
|
||||
@ -98,8 +97,7 @@ class App(BaseApplication):
|
||||
self.planetmint_node.store_block(block._asdict())
|
||||
self.planetmint_node.store_validator_set(height + 1, validator_set)
|
||||
abci_chain_height = 0 if known_chain is None else known_chain['height']
|
||||
self.planetmint_node.store_abci_chain(abci_chain_height,
|
||||
genesis.chain_id, True)
|
||||
self.planetmint_node.store_abci_chain(abci_chain_height, genesis.chain_id, True)
|
||||
self.chain = {'height': abci_chain_height, 'is_synced': True,
|
||||
'chain_id': genesis.chain_id}
|
||||
return ResponseInitChain()
|
||||
|
Loading…
x
Reference in New Issue
Block a user