Fix ratio

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera committed 2020-07-02 18:46:42 +02:00
1 parent 78ee64d9f8
commit 01e230e810
1 file changed
+1 -1
+1 -1
View File
@@ -276,7 +276,7 @@ func tallyGasCharges(charges map[string]*stats, et types.ExecutionTrace) {
charges[gc.Name] = s
}
s.AddPoint(ratio)
s.AddPoint(1 / ratio)
//fmt.Printf("%s: %d, %s: %0.2f\n", gc.Name, compGas, gc.TimeTaken, 1/(ratio/GasPerNs))
}
for _, sub := range et.Subcalls {