Skip to content
Unverified Commit feac7a52 authored by Nazar Mokrynskyi's avatar Nazar Mokrynskyi Committed by GitHub
Browse files

Replace unnecessary `&mut self` with `&self` in `BlockImport::import_block()` (#5339)

There was no need for it to be `&mut self` since block import can happen
concurrently for different blocks and in many cases it was `&mut Arc<dyn
BlockImport>` anyway :man_shrugging:

Similar in nature to
https://github.com/paritytech/polkadot-sdk/pull/4844
parent fd522b81
Pipeline #491030 waiting for manual action with stages
in 1 hour, 16 minutes, and 37 seconds
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