diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index fe93001946d..8e3939d995e 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -19,3 +19,6 @@ ### IMPROVEMENTS ### BUG FIXES + +- `[rpc]` \#9692 Remove `Cache-Control` header response from `/check_tx` + endpoint (@JayT106) diff --git a/rpc/core/routes.go b/rpc/core/routes.go index 61f64eb3a27..789801bb20b 100644 --- a/rpc/core/routes.go +++ b/rpc/core/routes.go @@ -24,7 +24,7 @@ var Routes = map[string]*rpc.RPCFunc{ "block_by_hash": rpc.NewRPCFunc(BlockByHash, "hash", rpc.Cacheable()), "block_results": rpc.NewRPCFunc(BlockResults, "height", rpc.Cacheable("height")), "commit": rpc.NewRPCFunc(Commit, "height", rpc.Cacheable("height")), - "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"),