Skip to content

Commit

Permalink
Merge pull request #98 from bradrushworth/bradrushworth-patch-1
Browse files Browse the repository at this point in the history
Update importer.py
  • Loading branch information
tarioch authored May 8, 2023
2 parents f588b8e + e72fdde commit ec7b067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tariochbctools/importers/blockchain/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def extract(self, file, existing_entries):
price = priceLookup.fetchPriceAmount(currency, date)
cost = data.Cost(price, baseCcy, None, None)

outputType = "eth" if currency.lower() == "eth" else "btc"
outputType = "ether" if currency.lower() == "eth" else "btc"
amt = blockcypher.from_base_unit(trx["value"], outputType)

entry = data.Transaction(
Expand Down

0 comments on commit ec7b067

Please sign in to comment.