Skip to content

Commit

Permalink
duplicate hooksTransferMiddleware
Browse files Browse the repository at this point in the history
  • Loading branch information
anhductn2001 committed Aug 28, 2023
1 parent fbc92b1 commit e21f330
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,6 @@ func (appKeepers *AppKeepers) InitNormalKeepers(
ratelimitMiddlewareStack := ratelimitmodule.NewIBCMiddleware(appKeepers.RatelimitKeeper, ibcMiddlewareStack)
hooksTransferMiddleware := ibc_hooks.NewIBCMiddleware(ratelimitMiddlewareStack, &appKeepers.HooksICS4Wrapper)

hooksTransferMiddleware := ibc_hooks.NewIBCMiddleware(ibcMiddlewareStack, &appKeepers.HooksICS4Wrapper)

// Create evidence Keeper for to register the IBC light client misbehaviour evidence route
evidenceKeeper := evidencekeeper.NewKeeper(
appCodec, appKeepers.keys[evidencetypes.StoreKey], appKeepers.StakingKeeper, appKeepers.SlashingKeeper,
Expand Down

0 comments on commit e21f330

Please sign in to comment.