diff --git a/polkadot/node/network/collator-protocol/src/validator_side/tests/prospective_parachains.rs b/polkadot/node/network/collator-protocol/src/validator_side/tests/prospective_parachains.rs index 6e716a82b015..f5101ca98c1a 100644 --- a/polkadot/node/network/collator-protocol/src/validator_side/tests/prospective_parachains.rs +++ b/polkadot/node/network/collator-protocol/src/validator_side/tests/prospective_parachains.rs @@ -118,7 +118,7 @@ pub(super) async fn update_view( parent, RuntimeApiRequest::AsyncBackingParams(tx), )) => { - tx.send(Ok(async_backing_params.clone())).unwrap(); + tx.send(Ok(*async_backing_params)).unwrap(); (parent, new_view.get(&parent).copied().expect("Unknown parent requested")) } );