From b4a56c84130b15207ab364dc2401d89c01f8ee54 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 2 May 2022 09:19:55 +0100 Subject: [PATCH] Initialise currencies --- handler/sinks/__init__.py | 1 + handler/sinks/nordigen.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/sinks/__init__.py b/handler/sinks/__init__.py index a0a6f92..f5698c7 100644 --- a/handler/sinks/__init__.py +++ b/handler/sinks/__init__.py @@ -19,6 +19,7 @@ class Sinks(util.Base): def __init__(self): super().__init__() self.account_info = {} + self.currencies = [] def __irc_started__(self): self.startup() diff --git a/handler/sinks/nordigen.py b/handler/sinks/nordigen.py index c24159b..a9e7a1c 100644 --- a/handler/sinks/nordigen.py +++ b/handler/sinks/nordigen.py @@ -353,7 +353,6 @@ class Nordigen(util.Base): # No transaction ID. This is a problem for our implementation tx_hash = sha256(dumps(transaction, sort_keys=True).encode("utf8")).hexdigest() - print("tx_hash", tx_hash) transaction["transaction_id"] = tx_hash # Rename timestamp