diff --git a/frame/evm-system/src/lib.rs b/frame/evm-system/src/lib.rs index b8585ca470..0910a82ee5 100644 --- a/frame/evm-system/src/lib.rs +++ b/frame/evm-system/src/lib.rs @@ -178,8 +178,16 @@ pub trait OnNewAccount { fn on_new_account(who: &AccountId); } +impl OnNewAccount for () { + fn on_new_account(_who: &AccountId) {} +} + /// Interface to handle account killing. pub trait OnKilledAccount { /// The account with the given id was reaped. fn on_killed_account(who: &AccountId); } + +impl OnKilledAccount for () { + fn on_killed_account(_who: &AccountId) {} +}