Browse Source

Fix `Prove` int abci.ABCIQuery (#1485)

* fix Prove in abci query

* fix Prove in abci query

* fix doc

* fix doc
pull/1454/merge
suyuhuang 6 years ago
committed by Anton Kaliaev
parent
commit
6c04465d3d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      rpc/core/abci.go
  2. +1
    -1
      rpc/core/routes.go

+ 1
- 1
rpc/core/abci.go View File

@ -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


+ 1
- 1
rpc/core/routes.go View File

@ -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, ""),
}


Loading…
Cancel
Save