We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89eead2 commit a37221dCopy full SHA for a37221d
1 file changed
pallets/parachain-staking/src/tests.rs
@@ -4886,14 +4886,7 @@ fn deferred_payment_steady_state_event_flow() {
4886
let reset_issuance = || {
4887
let new_issuance = Balances::total_issuance();
4888
let diff = new_issuance - initial_issuance;
4889
- let burned = Balances::burn(diff);
4890
- Balances::settle(
4891
- &111,
4892
- burned,
4893
- WithdrawReasons::FEE,
4894
- ExistenceRequirement::AllowDeath,
4895
- )
4896
- .expect("Account can absorb burn");
+ let _ = Balances::burn(Some(111).into(), diff, false).expect("Account can absorb burn");
4897
};
4898
4899
// fn to roll through the first RewardPaymentDelay rounds. returns new round index
0 commit comments