Skip to content

Commit

Permalink
fix sca
Browse files Browse the repository at this point in the history
  • Loading branch information
likhita-809 committed Jul 12, 2023
1 parent 9b58a6d commit 78b3f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/circuit/keeper/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ func NewQueryServer(keeper Keeper) types.QueryServer {
func (qs QueryServer) Account(c context.Context, req *types.QueryAccountRequest) (*types.AccountResponse, error) {
sdkCtx := sdk.UnwrapSDKContext(c)

addr, err := qs.keeper.addressCodec.StringToBytes(req.Address)
add, err := qs.keeper.addressCodec.StringToBytes(req.Address)
if err != nil {
return nil, err
}

perms, err := qs.keeper.Permissions.Get(sdkCtx, addr)
perms, err := qs.keeper.Permissions.Get(sdkCtx, add)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 78b3f21

Please sign in to comment.