From d767046f2c88f7a522d6bb4c023867c60f9aa129 Mon Sep 17 00:00:00 2001 From: Alistair Singh Date: Thu, 2 Nov 2023 12:56:53 +0200 Subject: [PATCH] remove redundant clone --- parachain/primitives/router/src/inbound/mod.rs | 2 +- smoketest/tests/send_token.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/parachain/primitives/router/src/inbound/mod.rs b/parachain/primitives/router/src/inbound/mod.rs index 083f1d0fbf..506839c8f9 100644 --- a/parachain/primitives/router/src/inbound/mod.rs +++ b/parachain/primitives/router/src/inbound/mod.rs @@ -111,7 +111,7 @@ where let mut create_instructions = vec![ UniversalOrigin(GlobalConsensus(network)), WithdrawAsset(buy_execution_fee.clone().into()), - BuyExecution { fees: buy_execution_fee.clone(), weight_limit: Unlimited }, + BuyExecution { fees: buy_execution_fee, weight_limit: Unlimited }, SetAppendix( vec![ RefundSurplus, diff --git a/smoketest/tests/send_token.rs b/smoketest/tests/send_token.rs index 95499fc7d5..85b2e1461a 100644 --- a/smoketest/tests/send_token.rs +++ b/smoketest/tests/send_token.rs @@ -24,7 +24,6 @@ use snowbridge_smoketest::{ use sp_core::Encode; use subxt::utils::AccountId32; -// TODO: test sendNativeToken #[tokio::test] async fn send_token() { let test_clients = initial_clients().await.expect("initialize clients");