Skip to content
Snippets Groups Projects
Commit f56e5523 authored by matograine's avatar matograine Committed by Moul
Browse files

[enh] #413 create function get_currency

parent 3300af22
No related branches found
No related tags found
1 merge request!170#89: Implement revocation command
......@@ -48,3 +48,7 @@ class HeadBlock:
def get_head(self):
client = ClientInstance().client
return client(blockchain.current)
def get_currency():
return (HeadBlock().head_block)["currency"]
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