diff --git a/runtime/common/src/fees.rs b/runtime/common/src/fees.rs index bf22bfeaf..a8d4563a1 100644 --- a/runtime/common/src/fees.rs +++ b/runtime/common/src/fees.rs @@ -51,10 +51,11 @@ macro_rules! impl_fee_types { // on_unbalanced is not implemented for other currencies than the native currency // https://github.com/paritytech/substrate/blob/85415fb3a452dba12ff564e6b093048eed4c5aad/frame/treasury/src/lib.rs#L618-L627 // https://github.com/paritytech/substrate/blob/5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1/frame/treasury/src/lib.rs#L490 - let _ = >::resolve( + let res = >::resolve( &TreasuryPalletId::get().into_account_truncating(), fees_and_tips, ); + debug_assert!(res.is_ok()); } } };