From 2712e10d924cbdf6091d156f8002551162c12893 Mon Sep 17 00:00:00 2001 From: Piet Wolff Date: Sun, 25 Feb 2024 15:48:03 +0100 Subject: [PATCH] clippy --- substrate/frame/conviction-voting/src/benchmarking.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/conviction-voting/src/benchmarking.rs b/substrate/frame/conviction-voting/src/benchmarking.rs index 2923671206935..8f3463c19ca26 100644 --- a/substrate/frame/conviction-voting/src/benchmarking.rs +++ b/substrate/frame/conviction-voting/src/benchmarking.rs @@ -56,7 +56,7 @@ fn funded_account, I: 'static>(name: &'static str, index: u32) -> T let caller: T::AccountId = account(name, index, SEED); T::Currency::set_balance(&caller, 100_000_000u32.into()); // remove all freezes from previous benchmarks so we never run out of available funds - T::Currency::thaw(&FreezeReason::ConvictionVoting.into(), &caller); + let _ = T::Currency::thaw(&FreezeReason::ConvictionVoting.into(), &caller); caller }