Parcourir la source

eth/tracers: fix unigram tracer (#22248)

Sina Mahmoodi il y a 4 ans
Parent
commit
3c728fb129

Fichier diff supprimé car celui-ci est trop grand
+ 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;
     },
 }

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff