Solved linting errors.

This commit is contained in:
ArpitShukla007 2022-02-04 08:02:22 +00:00
parent 0fdca70c38
commit ddc26a0f78

View File

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