Skip to content

Commit

Permalink
Fix nightly compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
jancionear committed Jan 24, 2025
1 parent 7fdbbda commit d28f43b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -800,8 +800,8 @@ impl Runtime {
// If the receipt was successfully applied, we update `other_burnt_amount` statistic with the non-refundable amount burnt.
#[cfg(feature = "protocol_feature_nonrefundable_transfer_nep491")]
if result.result.is_ok() {
stats.other_burnt_amount =
safe_add_balance(stats.other_burnt_amount, nonrefundable_amount_burnt)?;
stats.balance.other_burnt_amount =
safe_add_balance(stats.balance.other_burnt_amount, nonrefundable_amount_burnt)?;
}

// If the receipt is a refund, then we consider it free without burnt gas.
Expand Down

0 comments on commit d28f43b

Please sign in to comment.