From a37221d8bebc88b32d452bf7accd8d7a6a1fa514 Mon Sep 17 00:00:00 2001 From: magecnion Date: Thu, 12 Sep 2024 16:14:33 +0200 Subject: [PATCH] paritytech/polkadot-sdk#3964 --- pallets/parachain-staking/src/tests.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pallets/parachain-staking/src/tests.rs b/pallets/parachain-staking/src/tests.rs index 194cc077b..287823b91 100644 --- a/pallets/parachain-staking/src/tests.rs +++ b/pallets/parachain-staking/src/tests.rs @@ -4886,14 +4886,7 @@ fn deferred_payment_steady_state_event_flow() { let reset_issuance = || { let new_issuance = Balances::total_issuance(); let diff = new_issuance - initial_issuance; - let burned = Balances::burn(diff); - Balances::settle( - &111, - burned, - WithdrawReasons::FEE, - ExistenceRequirement::AllowDeath, - ) - .expect("Account can absorb burn"); + let _ = Balances::burn(Some(111).into(), diff, false).expect("Account can absorb burn"); }; // fn to roll through the first RewardPaymentDelay rounds. returns new round index