aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-12 00:36:35 +0800
committerobscuren <geffobscura@gmail.com>2015-03-12 00:36:35 +0800
commitc01d4c2f4c8704656e407ab4d80d9ec82e016731 (patch)
treec4abc2c2260a674cd14dc6b53af15ef9b634571d /rpc
parent2da7af4ba0913acc74c554422a04958f3f8d78b9 (diff)
downloadgo-tangerine-c01d4c2f4c8704656e407ab4d80d9ec82e016731.tar.gz
go-tangerine-c01d4c2f4c8704656e407ab4d80d9ec82e016731.tar.zst
go-tangerine-c01d4c2f4c8704656e407ab4d80d9ec82e016731.zip
Lowered default gas price and increased default gas limit
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/rpc/api.go b/rpc/api.go
index fb974883a..8bbe80bd8 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -21,8 +21,8 @@ import (
)
var (
- defaultGasPrice = big.NewInt(10000000000000)
- defaultGas = big.NewInt(50000)
+ defaultGasPrice = big.NewInt(150000000000)
+ defaultGas = big.NewInt(500000)
filterTickerTime = 15 * time.Second
)
@@ -252,7 +252,6 @@ func (p *EthereumApi) Transact(args *NewTxArgs, reply *interface{}) (err error)
*/
// TODO: align default values to have the same type, e.g. not depend on
// ethutil.Value conversions later on
- fmt.Println("gas", args.Gas)
if args.Gas.Cmp(big.NewInt(0)) == 0 {
args.Gas = defaultGas
}