forked from xeroc/stakemachine
-
Notifications
You must be signed in to change notification settings - Fork 128
Closed
Labels
[3] Type: Bug[5] Small TaskIndicates size of task. Est. between one and two hoursIndicates size of task. Est. between one and two hours
Description
Because SO saves different kinds of orders including these with uuid as id like "8b15607e-499d-469c-8ce8-5d71d971b338", changing worker strategy to RO will lead to an error like this:
2019-08-23 23:22:40,401 (bitshares_engine:805) - ERROR - Got an exception getting order id 8b15607e-499d-469c-8ce8-5d71d971b338
2019-08-23 23:22:40,401 (worker:82) - worker10 - ERROR - Worker initialisation
Traceback (most recent call last):
File "/home/vvk/.local/share/virtualenvs/DEXBot-prod-N9mtHQyI/lib/python3.6/site-packages/grapheneapi/api.py", line 168, in func
r = func(*args, **kwargs)
File "/home/vvk/.local/share/virtualenvs/DEXBot-prod-N9mtHQyI/lib/python3.6/site-packages/grapheneapi/rpc.py", line 136, in method
message = self.parse_response(r)
File "/home/vvk/.local/share/virtualenvs/DEXBot-prod-N9mtHQyI/lib/python3.6/site-packages/grapheneapi/rpc.py", line 104, in parse_response
raise RPCError(ret["error"]["message"])
grapheneapi.exceptions.RPCError: Assert Exception: first_dot != second_dot:
Solution would be adding a check to detect SO orders and purge them.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[3] Type: Bug[5] Small TaskIndicates size of task. Est. between one and two hoursIndicates size of task. Est. between one and two hours