Browse Source

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

pull/2533/head
Anton Kaliaev 6 years ago
committed by Ethan Buchman
parent
commit
f3d08f969d
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      rpc/core/routes.go
  2. +1
    -0
      types/block_test.go

+ 1
- 1
rpc/core/routes.go 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, ""),
}


+ 1
- 0
types/block_test.go 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"
)


Loading…
Cancel
Save