Selaa lähdekoodia

eth/tracers: fix unigram tracer (#22248)

Sina Mahmoodi 4 vuotta sitten
vanhempi
commit
3c728fb129

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 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;
     },
 }

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä