File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ and includes the recent best block number of the local validators chain as well
13
13
as the ` NetworkState ` .
14
14
It is submitted as an Unsigned Transaction via off-chain workers.
15
15
16
- - [ ` im_online::Trait ` ] ( https://docs.rs/pallet-im-online/latest/pallet_im_online/trait.Trait .html )
16
+ - [ ` im_online::Config ` ] ( https://docs.rs/pallet-im-online/latest/pallet_im_online/trait.Config .html )
17
17
- [ ` Call ` ] ( https://docs.rs/pallet-im-online/latest/pallet_im_online/enum.Call.html )
18
18
- [ ` Module ` ] ( https://docs.rs/pallet-im-online/latest/pallet_im_online/struct.Module.html )
19
19
@@ -30,10 +30,10 @@ use frame_support::{decl_module, dispatch};
30
30
use frame_system :: ensure_signed;
31
31
use pallet_im_online :: {self as im_online};
32
32
33
- pub trait Trait : im_online :: Trait {}
33
+ pub trait Config : im_online :: Config {}
34
34
35
35
decl_module! {
36
- pub struct Module <T : Trait > for enum Call where origin : T :: Origin {
36
+ pub struct Module <T : Config > for enum Call where origin : T :: Origin {
37
37
#[weight = 0]
38
38
pub fn is_online (origin , authority_index : u32 ) -> dispatch :: DispatchResult {
39
39
let _sender = ensure_signed (origin )? ;
You can’t perform that action at this time.
0 commit comments