Commit 7d5389cd authored by Alex Thomae's avatar Alex Thomae

Merge branch 'master' into 'latest'

Fixes snake_case issue

See merge request docker/stellar-exporter!7
parents 3f07ed57 9263fbe2
......@@ -27,7 +27,7 @@ class StellarCollector:
'accounts': os.environ.get("ACCOUNTS", '').split(','),
def getAccounts(self):
def get_accounts(self):
""" Connects to the Stellar network and retrieves the account information """
for account in self.settings['accounts']:
a = Address(address=account, network='public')
......@@ -62,7 +62,7 @@ class StellarCollector:
labels=['source_currency', 'currency', 'account', 'type']
for a in self.accounts:
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