mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
tracing: fix minor off-by-one error
This commit is contained in:
parent
af28d12847
commit
b7a0bc1574
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@
|
|||
// the final result of the tracing.
|
||||
result: function(ctx) {
|
||||
// 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)
|
||||
}
|
||||
return this.ids;
|
||||
|
|
|
|||
Loading…
Reference in a new issue