tarioch / beancounttools

Beancount Tools
MIT License
79 stars 23 forks source link

Update importer.py #98

Closed bradrushworth closed 1 year ago

bradrushworth commented 1 year ago

Updating "eth" to "ether" per the expectations from blockcypher dependency.

  File "C:\Users\Brad\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\tariochbctools\importers\blockchain\importer.py", line 44, in extract
    amt = blockcypher.from_base_unit(trx["value"], outputType)
  File "C:\Users\Brad\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\blockcypher\utils.py", line 57, in from_base_unit
    raise Exception('Invalid Unit Choice: %s' % output_type)
Exception: Invalid Unit Choice: eth
tarioch commented 1 year ago

great, thank you very much for your contribution