Ignore virtual
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
369ec8221f
commit
1bc9fbca20
@ -281,7 +281,7 @@ func (s1 *stats) Combine(s2 *stats) {
|
|||||||
func tallyGasCharges(charges map[string]*stats, et types.ExecutionTrace) {
|
func tallyGasCharges(charges map[string]*stats, et types.ExecutionTrace) {
|
||||||
for _, gc := range et.GasCharges {
|
for _, gc := range et.GasCharges {
|
||||||
|
|
||||||
compGas := gc.ComputeGas + gc.VirtualComputeGas
|
compGas := gc.ComputeGas
|
||||||
if compGas == 0 {
|
if compGas == 0 {
|
||||||
compGas = 1
|
compGas = 1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user