Skip to content
Snippets Groups Projects
Commit 4523f590 authored by Holger's avatar Holger
Browse files

Fix is_network_appbase_ready for newest steem update

parent c96afa47
No related branches found
No related tags found
No related merge requests found
...@@ -16,12 +16,10 @@ log = logging.getLogger(__name__) ...@@ -16,12 +16,10 @@ log = logging.getLogger(__name__)
def is_network_appbase_ready(props): def is_network_appbase_ready(props):
"""Checks if the network is appbase ready""" """Checks if the network is appbase ready"""
network_version = '0.0.0'
if "STEEMIT_BLOCKCHAIN_VERSION" in props: if "STEEMIT_BLOCKCHAIN_VERSION" in props:
network_version = props['STEEMIT_BLOCKCHAIN_VERSION'] return False
elif "STEEM_BLOCKCHAIN_VERSION" in props: elif "STEEM_BLOCKCHAIN_VERSION" in props:
network_version = props['STEEM_BLOCKCHAIN_VERSION'] return True
return network_version >= '0.19.4'
def get_query(appbase, request_id, api_name, name, args): def get_query(appbase, request_id, api_name, name, args):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment