Skip to content

Commit

Permalink
remove unnecessary debug fmt.Println
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilGeorgiev committed Apr 2, 2024
1 parent fdbe314 commit c61670e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions x/authz/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,17 +217,6 @@ func (k Keeper) SaveGrant(ctx context.Context, grantee, granter sdk.AccAddress,
// by the granter.
func (k Keeper) DeleteGrant(ctx context.Context, grantee, granter sdk.AccAddress, msgType string) error {
store := k.environment.KVStoreService.OpenKVStore(ctx)
fmt.Println(grantee.Bytes()) //[165 136 86 240 253 83 191 5 139 73 9 162 26 236 1 145 7 186 97 1]
fmt.Println(granter.Bytes()) // [165 136 86 240 253 83 191 5 139 73 9 162 26 236 1 145 7 186 97 0]

fmt.Println(grantee.String())
fmt.Println(granter.String())

//[165 136 86 240 253 83 191 5 139 73 9 162 26 236 1 145 7 186 97 1]
// [165 136 86 240 253 83 191 5 139 73 9 162 26 236 1 145 7 186 97 0]
// cosmos15ky9du8a2wlstz6fpx3p4mqpjyrm5cgp0ctjdj
// cosmos15ky9du8a2wlstz6fpx3p4mqpjyrm5cgqjwl8sq

skey := grantStoreKey(grantee, granter, msgType)
grant, found := k.getGrant(ctx, skey)
if !found {
Expand Down

0 comments on commit c61670e

Please sign in to comment.