From f3d08f969dbd5a219eca472fe4eb9f91e460573f Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Wed, 3 Oct 2018 04:31:04 +0400 Subject: [PATCH] [rpc] fix /abci_query: trusted was renamed to prove (#2531) --- rpc/core/routes.go | 2 +- types/block_test.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rpc/core/routes.go b/rpc/core/routes.go index 639a2d08a..736ded607 100644 --- a/rpc/core/routes.go +++ b/rpc/core/routes.go @@ -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, ""), } diff --git a/types/block_test.go b/types/block_test.go index c99fb6b07..43366a63b 100644 --- a/types/block_test.go +++ b/types/block_test.go @@ -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" )