[rpc] fix /abci_query: trusted was renamed to prove (#2531)

This commit is contained in:
Anton Kaliaev 2018-10-03 04:31:04 +04:00 committed by Ethan Buchman
parent 5c6999cf8f
commit f3d08f969d
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -8,6 +8,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/tendermint/tendermint/crypto/tmhash"
cmn "github.com/tendermint/tendermint/libs/common"
)