Commit af698ad3 authored by Moul's avatar Moul
Browse files

[mod] #69: mv get_current_block() to network_tools.py.

parent 13099809
......@@ -156,3 +156,6 @@ def check_port(port):
print("Wrong port number", file=sys.stderr)
sys.exit(1)
return 1
def get_current_block(ep):
return get_request(ep, "blockchain/current")
......@@ -41,9 +41,6 @@ def get_pubkeys_from_id(ep, uid):
return results["results"]
def get_current_block(ep):
return get_request(ep, "blockchain/current")
def get_currency_symbol(currency):
if currency == "g1":
return G1_SYMBOL
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment