aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-15 01:57:12 +0800
committerobscuren <geffobscura@gmail.com>2015-03-15 01:57:12 +0800
commit12cee1377f8795608bae3cad38ee22c032b3b865 (patch)
treefbd44a0d016f626ea92dd5a62ad23c5915f351bf
parent95711bc2dd0af71c741871007cecad12be8076ad (diff)
downloaddexon-12cee1377f8795608bae3cad38ee22c032b3b865.tar
dexon-12cee1377f8795608bae3cad38ee22c032b3b865.tar.gz
dexon-12cee1377f8795608bae3cad38ee22c032b3b865.tar.bz2
dexon-12cee1377f8795608bae3cad38ee22c032b3b865.tar.lz
dexon-12cee1377f8795608bae3cad38ee22c032b3b865.tar.xz
dexon-12cee1377f8795608bae3cad38ee22c032b3b865.tar.zst
dexon-12cee1377f8795608bae3cad38ee22c032b3b865.zip
Increased filter ticker time to 5 minutes
-rw-r--r--rpc/api.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 47e19e2de..2137de356 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -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