From 164190a3f55d1d03f106328e1fb00372c8a8e6d2 Mon Sep 17 00:00:00 2001 From: yooml Date: Mon, 29 Jul 2024 17:14:12 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=92=84=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pallets/farming/rpc/src/lib.rs | 3 ++- pallets/flexible-fee/src/tests.rs | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pallets/farming/rpc/src/lib.rs b/pallets/farming/rpc/src/lib.rs index 9a926babd..7bd515478 100644 --- a/pallets/farming/rpc/src/lib.rs +++ b/pallets/farming/rpc/src/lib.rs @@ -66,7 +66,8 @@ impl FarmingRpc { #[async_trait] impl - FarmingRpcApiServer<::Hash, AccountId, PoolId, CurrencyId> for FarmingRpc + FarmingRpcApiServer<::Hash, AccountId, PoolId, CurrencyId> + for FarmingRpc where Block: BlockT, C: Send + Sync + 'static + ProvideRuntimeApi + HeaderBackend, diff --git a/pallets/flexible-fee/src/tests.rs b/pallets/flexible-fee/src/tests.rs index 8ad017fbc..eae57d32f 100644 --- a/pallets/flexible-fee/src/tests.rs +++ b/pallets/flexible-fee/src/tests.rs @@ -312,8 +312,8 @@ fn ensure_can_charge_fee_should_work() { WithdrawReasons::TRANSACTION_PAYMENT, )); assert_eq!(::Currency::free_balance(&BOB), 100); // no exitential deposit requirement. 100 is enough - // Bob should be deducted 100 from Asset 0 since Asset 0 has enough balance. - // Currency 1 should not be affected. + // Bob should be deducted 100 from Asset 0 since Asset 0 has enough balance. + // Currency 1 should not be affected. assert_eq!(Currencies::total_balance(CURRENCY_ID_1, &BOB), 200); }); }