Ignore virtual

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-06-27 14:04:20 +02:00
parent 369ec8221f
commit 1bc9fbca20
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -281,7 +281,7 @@ func (s1 *stats) Combine(s2 *stats) {
func tallyGasCharges(charges map[string]*stats, et types.ExecutionTrace) {
for _, gc := range et.GasCharges {
compGas := gc.ComputeGas + gc.VirtualComputeGas
compGas := gc.ComputeGas
if compGas == 0 {
compGas = 1
}