rpc: log update (backport #6825) (#6826)

This commit is contained in:
mergify[bot]
2021-08-14 09:54:02 -04:00
committed by GitHub
parent 6fde228e9d
commit 0366c2b688
2 changed files with 4 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ func ABCIQuery(
if err != nil {
return nil, err
}
env.Logger.Info("ABCIQuery", "path", path, "data", data, "result", resQuery)
return &ctypes.ResultABCIQuery{Response: *resQuery}, nil
}
@@ -37,5 +37,6 @@ func ABCIInfo(ctx *rpctypes.Context) (*ctypes.ResultABCIInfo, error) {
if err != nil {
return nil, err
}
return &ctypes.ResultABCIInfo{Response: *resInfo}, nil
}