diff --git a/bridges/bin/rialto/runtime/src/lib.rs b/bridges/bin/rialto/runtime/src/lib.rs index 4c5d21e62964..6c2d86b8dfbc 100644 --- a/bridges/bin/rialto/runtime/src/lib.rs +++ b/bridges/bin/rialto/runtime/src/lib.rs @@ -783,7 +783,7 @@ impl_runtime_apis! { polkadot_runtime_parachains::runtime_api_impl::v2::candidate_events::(|ev| { match ev { Event::Inclusion(ev) => { - Some(ev) + Some(*ev) } _ => None, } diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 7cd9005a48cb..a2b31f549532 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1713,7 +1713,7 @@ sp_api::impl_runtime_apis! { parachains_runtime_api_impl::candidate_events::(|ev| { match ev { Event::ParaInclusion(ev) => { - Some(ev) + Some(*ev) } _ => None, } diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index f798c7e013af..6ff0a8d36a53 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1861,7 +1861,7 @@ sp_api::impl_runtime_apis! { parachains_runtime_api_impl::candidate_events::(|ev| { match ev { Event::ParaInclusion(ev) => { - Some(ev) + Some(*ev) } _ => None, } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index d7e2486c66a0..df3cfef81cbc 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1210,7 +1210,7 @@ sp_api::impl_runtime_apis! { runtime_api_impl::candidate_events::(|ev| { match ev { Event::ParaInclusion(ev) => { - Some(ev) + Some(*ev) } _ => None, } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 5f5580b55762..08d3b179f053 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1268,7 +1268,7 @@ sp_api::impl_runtime_apis! { parachains_runtime_api_impl::candidate_events::(|ev| { match ev { Event::ParaInclusion(ev) => { - Some(ev) + Some(*ev) } _ => None, }