提交 12cee137 编写于 作者: O obscuren

Increased filter ticker time to 5 minutes

上级 95711bc2
......@@ -23,7 +23,7 @@ import (
var (
defaultGasPrice = big.NewInt(150000000000)
defaultGas = big.NewInt(500000)
filterTickerTime = 15 * time.Second
filterTickerTime = 5 * time.Minute
)
type EthereumApi struct {
......@@ -573,7 +573,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
return err
}
*reply = toHex(big.NewInt(v).Bytes())
case "eth_getData":
case "eth_getData", "eth_getCode":
args := new(GetDataArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {
return err
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册