Skip to content
Snippets Groups Projects
Unverified Commit 3d8b91db authored by dharjeezy's avatar dharjeezy
Browse files

nit

parent c33da5a3
Branches
No related merge requests found
Pipeline #513219 waiting for manual action with stages
in 20 minutes and 49 seconds
......@@ -562,7 +562,7 @@ where
fn transaction(&self, hash: &H) -> Option<Arc<B::Extrinsic>> {
self.pool.ready_transaction(hash).and_then(
// Only propagable transactions should be resolved for network service.
|tx| if tx.is_propagable() { Some(Arc::new((**tx.data()).clone())) } else { None },
|tx| tx.is_propagable().then(|| { tx.data().clone() }),
)
}
}
......
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