Initialise currencies
This commit is contained in:
parent
421c102f0e
commit
b4a56c8413
|
@ -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()
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue