Skip to content
Commit 49e79967 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Use `async_trait` in sc-consensus-slots (#8461)



* Use `async_trait` in sc-consensus-slots

This makes the code a little bit easier to read and also expresses that
there can always only be one call at a time to `on_slot`.

* slots: remove mutex around BlockImport in SlotWorker

Co-authored-by: default avatarAndré Silva <[email protected]>
parent ff5765ea
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