You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While mining on shardpool.io, zilminer crash upexpectedly with 'Json::LogicError'
i 19:57:12 zilminer Job: d5703775… us1-zil.shardpool.io [ip-of-shardpool:5000]
terminate called after throwing an instance of 'Json::LogicError'
what(): Value is not convertible to bool.
To Reproduce
Steps to reproduce the behavior:
Just mining on shardpool with zilminer, it will happen from time to time. For me, it's a few times a day.
Expected behavior
continous mining without crash
Environment (please complete the following information):
The issue was caused by malformed answers to the eth_getWork call that shardpool.io send out randomly. These answers contained two json objects, the first not being in expected ZIL format:
ZILminer expects the result array to have 5 elements, the 4th being a bool. The current code accesses and converts the array elements without checking them. I prepared a fix and will add a PR later.
In the meantime shardpool.io have fixed the issue on their side. So single mining zil should work without the miner crashing now.
Describe the bug
While mining on shardpool.io, zilminer crash upexpectedly with 'Json::LogicError'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
continous mining without crash
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: