Skip to content

Commit c71a85e

Browse files
committed
add interface checking on module
1 parent 4f76f43 commit c71a85e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

x/bandtss/module.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ import (
2020
)
2121

2222
var (
23-
_ module.AppModule = AppModule{}
24-
_ module.AppModuleBasic = AppModuleBasic{}
23+
_ module.AppModule = AppModule{}
24+
_ module.AppModuleBasic = AppModuleBasic{}
25+
_ module.BeginBlockAppModule = AppModule{}
26+
_ module.EndBlockAppModule = AppModule{}
2527
)
2628

2729
// AppModuleBasic defines the basic application module used by the bandtss module.

x/tss/module.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ import (
1919
)
2020

2121
var (
22-
_ module.AppModule = AppModule{}
23-
_ module.AppModuleBasic = AppModuleBasic{}
22+
_ module.AppModule = AppModule{}
23+
_ module.AppModuleBasic = AppModuleBasic{}
24+
_ module.BeginBlockAppModule = AppModule{}
25+
_ module.EndBlockAppModule = AppModule{}
2426
)
2527

2628
// AppModuleBasic defines the basic application module used by the tss module.

0 commit comments

Comments
 (0)