mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2025-01-20 16:51:12 +00:00
06edad55f2
This PR fixes a problem which arises on clique networks when there is a network stall. Previously, the worker packages were tracked, even if the sealing engine decided not to seal the block (due to clique rules about recent signing). These tracked-but-not-sealed blocks kept building up in memory. This PR changes the situation so the sealing engine instead returns an error, and the worker can thus un-track the package.