forked from cerc-io/plugeth
eth/tracers: fix minor off-by-one error (#16879)
* tracing: fix minor off-by-one error * tracers: go generate
This commit is contained in:
parent
a5237a27ea
commit
400332b99d
@ -78,7 +78,7 @@
|
|||||||
// the final result of the tracing.
|
// the final result of the tracing.
|
||||||
result: function(ctx) {
|
result: function(ctx) {
|
||||||
// Save the outer calldata also
|
// Save the outer calldata also
|
||||||
if (ctx.input.length > 4) {
|
if (ctx.input.length >= 4) {
|
||||||
this.store(slice(ctx.input, 0, 4), ctx.input.length-4)
|
this.store(slice(ctx.input, 0, 4), ctx.input.length-4)
|
||||||
}
|
}
|
||||||
return this.ids;
|
return this.ids;
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user