Skip to content

Commit 3967093

Browse files
committed
increase estimate gas result by 50%
1 parent 4ddd02d commit 3967093

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/ethapi/api.go

+5
Original file line numberDiff line numberDiff line change
@@ -1178,6 +1178,11 @@ func DoEstimateGas(ctx context.Context, b Backend, args CallArgs, blockNrOrHash
11781178
return 0, fmt.Errorf("gas required exceeds allowance (%d)", cap)
11791179
}
11801180
}
1181+
1182+
// Rei
1183+
// increase more gas 50%
1184+
hi = (hi * 150) / 100
1185+
11811186
return hexutil.Uint64(hi), nil
11821187
}
11831188

0 commit comments

Comments
 (0)