Эх сурвалжийг харах

eth/tracers: fix unigram tracer (#22248)

Sina Mahmoodi 4 жил өмнө
parent
commit
3c728fb129

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 3 - 3
eth/tracers/internal/tracers/assets.go


+ 1 - 3
eth/tracers/internal/tracers/unigram_tracer.js

@@ -36,8 +36,6 @@
     // result is invoked when all the opcodes have been iterated over and returns
     // the final result of the tracing.
     result: function(ctx) {
-        if(this.nops > 0){
-            return this.hist;
-        }
+        return this.hist;
     },
 }

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно