blocknetdx / eth-payment-processor

eth-payment-processor
3 stars 4 forks source link

consistent format for discount env vars #20

Closed pom11 closed 2 years ago

pom11 commented 2 years ago

  File "/app/manager/main.py", line 12, in <module>
    from util.eth_payments import Web3Helper
  File "/app/manager/util/__init__.py", line 11, in <module>
    discount_ablock = float((100 - os.environ.get('DISCOUNT_ABLOCK', 20))/100)
TypeError: unsupported operand type(s) for -: 'int' and 'str'```
ConanMishler commented 2 years ago

Can't test this thoroughly until issue #123 in exrproxy-env is fixed.