Skip to content

Commit

Permalink
temporal removal of address check
Browse files Browse the repository at this point in the history
  • Loading branch information
JeancarloBarrios committed Jul 9, 2022
1 parent beb4330 commit c9493a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x/staking/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ func NewKeeper(
panic(fmt.Sprintf("%s module account has not been set", types.NotBondedPoolName))
}

// ensure that authority is a valid AccAddress
//if _, err := sdk.AccAddressFromBech32(authority); err != nil {
// panic(fmt.Sprintf("authority is not a valid acc address"))
//}

return &Keeper{
storeKey: key,
cdc: cdc,
Expand Down

0 comments on commit c9493a9

Please sign in to comment.