Skip to content

Commit a37221d

Browse files
committed
1 parent 89eead2 commit a37221d

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

pallets/parachain-staking/src/tests.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4886,14 +4886,7 @@ fn deferred_payment_steady_state_event_flow() {
48864886
let reset_issuance = || {
48874887
let new_issuance = Balances::total_issuance();
48884888
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");
4889+
let _ = Balances::burn(Some(111).into(), diff, false).expect("Account can absorb burn");
48974890
};
48984891

48994892
// fn to roll through the first RewardPaymentDelay rounds. returns new round index

0 commit comments

Comments
 (0)