Skip to content

Commit

Permalink
remove debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
kstoykov committed Dec 21, 2021
1 parent 46c2590 commit 76f989e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions module/x/gravity/keeper/keeper_static_val.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ func (k Keeper) IsStaticValByValAddress(ctx sdk.Context, targetValAddress sdk.Va

k.IterateStaticValCosmosAddr(ctx, func(_ []byte, cosmosAddr string) bool {
accAddress, err := sdk.AccAddressFromBech32(cosmosAddr)
ctx.Logger().Error("Debug", "accAddress", accAddress)
if err == nil {
valAddress := sdk.ValAddress(accAddress)
ctx.Logger().Error("Debug", "valAddress", valAddress.String(), "targetAddress", targetValAddress.String())
if valAddress.String() == targetValAddress.String() {
result = true
return true
Expand Down

0 comments on commit 76f989e

Please sign in to comment.