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
{{ message }}
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
The simple fix to try would be to look at fresh blocks returned as the first value from syncQueue. If blockHash was not returned there, it means it was rejected as bad block, and then we should throw exception in this case.
It succeeds even if the block import failed.
@winsvega reports that this is what happens when importing invalid block:
aleth/libethereum/ClientTest.cpp
Lines 157 to 163 in be6ce38
The simple fix to try would be to look at fresh blocks returned as the first value from
syncQueue. IfblockHashwas not returned there, it means it was rejected as bad block, and then we should throw exception in this case.