Fix Clippy (#10596)

* fix clippy

* fmt
This commit is contained in:
Shawn Tabrizi authored and GitHub committed 2022-01-05 23:08:36 +00:00
1 parent c1865988df
commit 6b36411f22
2 files changed
+2 -4

No files matched your search

@@ -246,9 +246,7 @@ where
&runtime_code,
self.spawn_handle.clone(),
)
.with_storage_transaction_cache(
storage_transaction_cache.as_mut().map(|c| &mut **c),
)
.with_storage_transaction_cache(storage_transaction_cache.as_deref_mut())
.set_parent_hash(at_hash);
state_machine.execute_using_consensus_failure_handler(
execution_manager,