Remove evidence codec (#6146)

This commit is contained in:
Alexander Bezobchuk
2020-05-05 19:13:36 +00:00
committed by GitHub
parent 2a82c691a2
commit 2f718c8d66
8 changed files with 60 additions and 120 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ func NewSimApp(
// create evidence keeper with router
evidenceKeeper := evidence.NewKeeper(
evidence.NewAnyCodec(appCodec), keys[evidence.StoreKey], &app.StakingKeeper, app.SlashingKeeper,
appCodec, keys[evidence.StoreKey], &app.StakingKeeper, app.SlashingKeeper,
)
evidenceRouter := evidence.NewRouter().
AddRoute(ibcclient.RouterKey, ibcclient.HandlerClientMisbehaviour(app.IBCKeeper.ClientKeeper))