Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SO TypeError: 'NoneType' object is not subscriptable #764

Closed
bitphage opened this issue Apr 23, 2020 · 0 comments
Closed

SO TypeError: 'NoneType' object is not subscriptable #764

bitphage opened this issue Apr 23, 2020 · 0 comments

Comments

@bitphage
Copy link
Collaborator

Traceback (most recent call last):
  File "/home/vvk/devel/DEXBot-prod/dexbot/worker.py", line 131, in on_block
    self.workers[worker_name].ontick(data)
  File "/home/vvk/.local/share/virtualenvs/DEXBot-prod-N9mtHQyI/lib/python3.7/site-packages/events/events.py", line 95, in __call__
    f(*a, **kw)
  File "/home/vvk/devel/DEXBot-prod/dexbot/strategies/staggered_orders.py", line 2210, in tick
    self.maintain_strategy()
  File "/home/vvk/devel/DEXBot-prod/dexbot/decorators.py", line 19, in wrapper
    func(self, *args, **kwargs)
  File "/home/vvk/devel/DEXBot-prod/dexbot/strategies/staggered_orders.py", line 205, in maintain_strategy
    order_ids = [result[1] for result in trx['operation_results']]
TypeError: 'NoneType' object is not subscriptable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant