Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Unable to update trade request #167

@icook

Description

@icook

We get these pretty regularly for a short time and they're cluttering Sentry.

Stacktrace (most recent call last):

  File "simplecoin/rpc_views.py", line 91, in update_trade_requests
    tr.distribute()
  File "simplecoin/models.py", line 86, in distribute
    amounts = distributor(payable_amount, portions)
  File "simplecoin/scheduler.py", line 499, in distributor
    return _distributor(*args, **kwargs)
  File "simplecoin/scheduler.py", line 537, in _distributor
    assert abs(amount - new_amount) < (amount / 10000)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions