rpc: fix tests

This commit is contained in:
Ethan Buchman
2017-04-27 19:51:18 -04:00
parent a518d08839
commit c930f43cbe
6 changed files with 28 additions and 43 deletions

View File

@ -19,13 +19,7 @@ func ABCIQuery(path string, data data.Bytes, prove bool) (*ctypes.ResultABCIQuer
}
log.Info("ABCIQuery", "path", path, "data", data, "result", resQuery)
return &ctypes.ResultABCIQuery{
Code: resQuery.Code,
Index: resQuery.Index,
Key: resQuery.Key,
Value: resQuery.Value,
Proof: resQuery.Proof,
Height: resQuery.Height,
Log: resQuery.Log,
resQuery.Result(),
}, nil
}