diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-12 00:36:35 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-12 00:36:35 +0800 |
commit | c01d4c2f4c8704656e407ab4d80d9ec82e016731 (patch) | |
tree | c4abc2c2260a674cd14dc6b53af15ef9b634571d /rpc | |
parent | 2da7af4ba0913acc74c554422a04958f3f8d78b9 (diff) | |
download | go-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.go | 5 |
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 } |