From ffae184b62942219e8f16c8d5d68882b43d7ad24 Mon Sep 17 00:00:00 2001 From: JayT106 Date: Wed, 9 Nov 2022 18:50:25 -0500 Subject: [PATCH] fix check_tx cache problem (#9690) --- rpc/core/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/core/routes.go b/rpc/core/routes.go index e6cf59aa7..cd658889f 100644 --- a/rpc/core/routes.go +++ b/rpc/core/routes.go @@ -26,7 +26,7 @@ var Routes = map[string]*rpc.RPCFunc{ "commit": rpc.NewRPCFunc(Commit, "height", rpc.Cacheable("height")), "header": rpc.NewRPCFunc(Header, "height", rpc.Cacheable("height")), "header_by_hash": rpc.NewRPCFunc(HeaderByHash, "hash", rpc.Cacheable()), - "check_tx": rpc.NewRPCFunc(CheckTx, "tx", rpc.Cacheable()), + "check_tx": rpc.NewRPCFunc(CheckTx, "tx"), "tx": rpc.NewRPCFunc(Tx, "hash,prove", rpc.Cacheable()), "tx_search": rpc.NewRPCFunc(TxSearch, "query,prove,page,per_page,order_by"), "block_search": rpc.NewRPCFunc(BlockSearch, "query,page,per_page,order_by"),