diff --git a/x/transfermiddleware/keeper/grpc_query.go b/x/transfermiddleware/keeper/grpc_query.go index 90ad8b3c1..dbf461a9b 100644 --- a/x/transfermiddleware/keeper/grpc_query.go +++ b/x/transfermiddleware/keeper/grpc_query.go @@ -41,7 +41,7 @@ func (k Keeper) RelayerAccount(c context.Context, req *types.QueryIBCWhiteListRe iter := prefixStore.Iterator(nil, nil) defer iter.Close() - pageRes, err := sdkquery.FilteredPaginate(prefixStore, req.Pagination, func(key []byte, _ []byte, accumulate bool) (bool, error) { + pageRes, err := sdkquery.FilteredPaginate(prefixStore, req.Pagination, func(key, _ []byte, accumulate bool) (bool, error) { if accumulate { whiteList = append(whiteList, string(key)) }