From cc7ecdce87a4f0c74c5961b5f675c4ae242a1b0e Mon Sep 17 00:00:00 2001 From: Svyatoslav Nikolsky Date: Fri, 24 Sep 2021 17:47:57 +0300 Subject: [PATCH] fix clippy warning (#1163) --- .../bin-substrate/src/chains/kusama_headers_to_polkadot.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bridges/relays/bin-substrate/src/chains/kusama_headers_to_polkadot.rs b/bridges/relays/bin-substrate/src/chains/kusama_headers_to_polkadot.rs index 1e3cd2ec7d88..ea362bd202b1 100644 --- a/bridges/relays/bin-substrate/src/chains/kusama_headers_to_polkadot.rs +++ b/bridges/relays/bin-substrate/src/chains/kusama_headers_to_polkadot.rs @@ -150,10 +150,7 @@ pub(crate) mod tests { // adjusted fee let single_source_header_submit_tx_weight = single_source_header_submit_call_weight * 3 / 2; let single_source_header_tx_cost = W::calc(&single_source_header_submit_tx_weight); - let maximal_expected_decrease = - single_source_header_tx_cost * B::from(expected_source_headers_per_day); - - maximal_expected_decrease + single_source_header_tx_cost * B::from(expected_source_headers_per_day) } #[test]