Skip to content

Commit

Permalink
fix: ante check
Browse files Browse the repository at this point in the history
  • Loading branch information
fmorency committed Jul 19, 2024
1 parent eb4aa4b commit 83cc739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ante/disable_withdraw_delegator_rewards.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (mdwr MsgDisableWithdrawDelegatorRewards) AnteHandle(ctx sdk.Context, tx sd

func (mdwr MsgDisableWithdrawDelegatorRewards) hasWithdrawDelegatorRewardsMsg(msgs []sdk.Msg) bool {
for _, msg := range msgs {
if msg.(*distrtypes.MsgWithdrawDelegatorReward) != nil {
if _, ok := msg.(*distrtypes.MsgWithdrawDelegatorReward); ok {
return true
}
}
Expand Down

0 comments on commit 83cc739

Please sign in to comment.