Commit 8b63fa82 authored by Felipe Andrade's avatar Felipe Andrade

make tag earliest cacheable

parent a1b85fba
...@@ -271,8 +271,7 @@ func (e *EthGasPriceMethodHandler) PutRPCMethod(context.Context, *RPCReq, *RPCRe ...@@ -271,8 +271,7 @@ func (e *EthGasPriceMethodHandler) PutRPCMethod(context.Context, *RPCReq, *RPCRe
} }
func isBlockDependentParam(s string) bool { func isBlockDependentParam(s string) bool {
return s == "earliest" || return s == "latest" ||
s == "latest" ||
s == "pending" || s == "pending" ||
s == "finalized" || s == "finalized" ||
s == "safe" s == "safe"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment