Initialise currencies

This commit is contained in:
Mark Veidemanis 2022-05-02 09:19:55 +01:00
parent 421c102f0e
commit b4a56c8413
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 1 additions and 1 deletions

View File

@ -19,6 +19,7 @@ class Sinks(util.Base):
def __init__(self): def __init__(self):
super().__init__() super().__init__()
self.account_info = {} self.account_info = {}
self.currencies = []
def __irc_started__(self): def __irc_started__(self):
self.startup() self.startup()

View File

@ -353,7 +353,6 @@ class Nordigen(util.Base):
# No transaction ID. This is a problem for our implementation # No transaction ID. This is a problem for our implementation
tx_hash = sha256(dumps(transaction, sort_keys=True).encode("utf8")).hexdigest() tx_hash = sha256(dumps(transaction, sort_keys=True).encode("utf8")).hexdigest()
print("tx_hash", tx_hash)
transaction["transaction_id"] = tx_hash transaction["transaction_id"] = tx_hash
# Rename timestamp # Rename timestamp