From 64c8cf76ba0b88c4a346116cd526c8152114b4e2 Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Fri, 23 Oct 2020 09:49:18 -0400 Subject: [PATCH] Use InterfaceRegistry as AnyResolver for grpc-gateway (#7646) --- server/api/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/api/server.go b/server/api/server.go index c1614d3d2b15..5c037101c692 100644 --- a/server/api/server.go +++ b/server/api/server.go @@ -56,6 +56,7 @@ func New(clientCtx client.Context, logger log.Logger) *Server { EmitDefaults: true, Indent: " ", OrigName: true, + AnyResolver: clientCtx.InterfaceRegistry, } return &Server{