Fix Prove int abci.ABCIQuery (#1485)

* fix Prove in abci query

* fix Prove in abci query

* fix doc

* fix doc
This commit is contained in:
suyuhuang
2018-04-24 15:56:25 +08:00
committed by Anton Kaliaev
parent 17a5c6fa1a
commit 6c04465d3d
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import (
// Query the application for some information. // Query the application for some information.
// //
// ```shell // ```shell
// curl 'localhost:46657/abci_query?path=""&data="abcd"&prove=true' // curl 'localhost:46657/abci_query?path=""&data="abcd"&trusted=false'
// ``` // ```
// //
// ```go // ```go

View File

@ -34,7 +34,7 @@ var Routes = map[string]*rpc.RPCFunc{
"broadcast_tx_async": rpc.NewRPCFunc(BroadcastTxAsync, "tx"), "broadcast_tx_async": rpc.NewRPCFunc(BroadcastTxAsync, "tx"),
// abci API // abci API
"abci_query": rpc.NewRPCFunc(ABCIQuery, "path,data,height,prove"), "abci_query": rpc.NewRPCFunc(ABCIQuery, "path,data,height,trusted"),
"abci_info": rpc.NewRPCFunc(ABCIInfo, ""), "abci_info": rpc.NewRPCFunc(ABCIInfo, ""),
} }