Skip to content

Commit

Permalink
fix comment for GrpcQuerier
Browse files Browse the repository at this point in the history
  • Loading branch information
kwtalley committed Jul 11, 2024
1 parent 2e33b25 commit e318a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provwasm/query_plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func StargateQuerier(queryRouter baseapp.GRPCQueryRouter, cdc codec.Codec) func(
}
}

// StargateQuerier dispatches whitelisted stargate queries
// GrpcQuerier dispatches whitelisted queries and returns protobuf encoded responses
func GrpcQuerier(queryRouter baseapp.GRPCQueryRouter) func(ctx sdk.Context, request *wasmvmtypes.GrpcQuery) (proto.Message, error) {
return func(ctx sdk.Context, request *wasmvmtypes.GrpcQuery) (proto.Message, error) {
_, err := GetWhitelistedQuery(request.Path)
Expand Down

0 comments on commit e318a17

Please sign in to comment.