Skip to content
Unverified Commit 3750d855 authored by Adrian Catangiu's avatar Adrian Catangiu Committed by Daan van der Plas
Browse files

sc-consensus-beefy: reuse instead of recreate GossipEngine (#1262)




"sc-consensus-beefy: restart voter on pallet reset #14821" introduced
a mechanism to reinitialize the BEEFY worker on certain errors; but
re-creating the GossipEngine doesn't play well with
"Rework the event system of sc-network #14197".

So this PR slightly changes the re-initialization logic to reuse the original
GossipEngine and not recreate it.

Signed-off-by: default avatarAdrian Catangiu <[email protected]>
parent 5b802116
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment