Commit a711303c authored by Andrew Jones's avatar Andrew Jones

Rename EnvAccess direct emit_event method to avoid override

parent 46b28234
Pipeline #88135 failed with stages
in 4 minutes and 57 seconds
......@@ -119,7 +119,7 @@ impl EventHelpers<'_> {
where
E: Into<Self::Event>,
{
ink_lang::EnvAccess::<EnvTypes>::emit_event(self, event.into())
ink_lang::EnvAccess::<EnvTypes>::emit_event_inner(self, event.into())
}
}
};
......
......@@ -190,7 +190,7 @@ where
/// # Note
///
/// For more details visit: [`ink_core::env::emit_event`]
pub fn emit_event<Event>(self, event: Event)
pub fn emit_event_inner<Event>(self, event: Event)
where
Event: Topics<T> + scale::Encode,
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment