Skip to content

Commit 564a2c3

Browse files
committed
runtime: replace CreateInherent trait with CreateBare
1 parent 200dc89 commit 564a2c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,11 @@ where
370370
type RuntimeCall = RuntimeCall;
371371
}
372372

373-
impl<C> frame_system::offchain::CreateInherent<C> for Runtime
373+
impl<C> frame_system::offchain::CreateBare<C> for Runtime
374374
where
375375
RuntimeCall: From<C>,
376376
{
377-
fn create_inherent(call: RuntimeCall) -> UncheckedExtrinsic {
377+
fn create_bare(call: RuntimeCall) -> UncheckedExtrinsic {
378378
UncheckedExtrinsic::new_bare(call)
379379
}
380380
}

0 commit comments

Comments
 (0)