Removes gatekeeper from API

This commit is contained in:
Sergi Delgado Segura
2020-04-16 10:49:45 +02:00
parent 8e3caadc5c
commit a9b255e267
2 changed files with 4 additions and 7 deletions

View File

@@ -155,7 +155,7 @@ def main(command_line_conf):
# FIXME: 92-block-data-during-bootstrap-db
chain_monitor.monitor_chain()
inspector = Inspector(block_processor, config.get("MIN_TO_SELF_DELAY"))
API(config.get("API_BIND"), config.get("API_PORT"), inspector, watcher, gatekeeper).start()
API(config.get("API_BIND"), config.get("API_PORT"), inspector, watcher).start()
except Exception as e:
logger.error("An error occurred: {}. Shutting down".format(e))
exit(1)