From 6c04465d3d11e4192d2b593de4961cb66031bd53 Mon Sep 17 00:00:00 2001 From: suyuhuang Date: Tue, 24 Apr 2018 15:56:25 +0800 Subject: [PATCH] Fix `Prove` int abci.ABCIQuery (#1485) * fix Prove in abci query * fix Prove in abci query * fix doc * fix doc --- rpc/core/abci.go | 2 +- rpc/core/routes.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/core/abci.go b/rpc/core/abci.go index 874becae..1607b6cc 100644 --- a/rpc/core/abci.go +++ b/rpc/core/abci.go @@ -10,7 +10,7 @@ import ( // Query the application for some information. // // ```shell -// curl 'localhost:46657/abci_query?path=""&data="abcd"&prove=true' +// curl 'localhost:46657/abci_query?path=""&data="abcd"&trusted=false' // ``` // // ```go diff --git a/rpc/core/routes.go b/rpc/core/routes.go index f1150f03..be3881c3 100644 --- a/rpc/core/routes.go +++ b/rpc/core/routes.go @@ -34,7 +34,7 @@ var Routes = map[string]*rpc.RPCFunc{ "broadcast_tx_async": rpc.NewRPCFunc(BroadcastTxAsync, "tx"), // 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, ""), }