rpc: fix inconsistent logging levels (#265)

* rpc: fix incosistent logging levels

* minor changes
This commit is contained in:
Federico Kunze Küllmer
2021-07-12 18:39:35 +00:00
committed by GitHub
parent 1a48e09e78
commit 74b7eaf431
12 changed files with 248 additions and 285 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ func startInProcess(cfg Config, val *Validator) error {
val.jsonRPC = jsonrpc.NewServer()
apis := rpc.GetRPCAPIs(val.ClientCtx, tmWsClient)
apis := rpc.GetRPCAPIs(val.Ctx, val.ClientCtx, tmWsClient)
for _, api := range apis {
if err := val.jsonRPC.RegisterName(api.Namespace, api.Service); err != nil {
return fmt.Errorf("failed to register JSON-RPC namespace %s: %w", api.Namespace, err)