Commit 5be87619 authored by Ralph Pichler's avatar Ralph Pichler Committed by GitHub

add extra gas everywhere (#1487)

parent 2c8c0632
...@@ -166,6 +166,9 @@ func prepareTransaction(ctx context.Context, request *TxRequest, from common.Add ...@@ -166,6 +166,9 @@ func prepareTransaction(ctx context.Context, request *TxRequest, from common.Add
if err != nil { if err != nil {
return nil, err return nil, err
} }
gasLimit += gasLimit / 5 // add 20% on top
} else { } else {
gasLimit = request.GasLimit gasLimit = request.GasLimit
} }
......
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