diff --git a/runtime/common/src/pallets_config.rs b/runtime/common/src/pallets_config.rs index d7407081c20b576fdfaea8914a972d4501dbf940..fb5cbd642e4fd955197402cf303add304801700c 100644 --- a/runtime/common/src/pallets_config.rs +++ b/runtime/common/src/pallets_config.rs @@ -168,9 +168,8 @@ macro_rules! pallets_config { fn on_nonzero_unbalanced(amount: NegativeImbalance) { use frame_support::traits::Currency as _; - if let Some(author) = Authorship::author() { - Balances::resolve_creating(&author, amount); - } + // Send all fees to the treasury pot + Balances::resolve_creating(&Treasury::account_id(), amount); } } impl pallet_transaction_payment::Config for Runtime {