mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
eth/tracers/native: include SWAP16 in default ignored opcodes (#33381)
This commit is contained in:
parent
215ee6ac18
commit
1ce71a1895
1 changed files with 1 additions and 1 deletions
|
|
@ -513,7 +513,7 @@ func defaultIgnoredOpcodes() []hexutil.Uint64 {
|
|||
ignored := make([]hexutil.Uint64, 0, 64)
|
||||
|
||||
// Allow all PUSHx, DUPx and SWAPx opcodes as they have sequential codes
|
||||
for op := vm.PUSH0; op < vm.SWAP16; op++ {
|
||||
for op := vm.PUSH0; op <= vm.SWAP16; op++ {
|
||||
ignored = append(ignored, hexutil.Uint64(op))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue