mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
fix compilation in runtime_fuzz
This commit is contained in:
parent
6fbc0cfff8
commit
deb1528ca0
@ -27,7 +27,7 @@ import (
|
|||||||
func Fuzz(input []byte) int {
|
func Fuzz(input []byte) int {
|
||||||
_, _, err := runtime.Execute(input, input, &runtime.Config{
|
_, _, err := runtime.Execute(input, input, &runtime.Config{
|
||||||
GasLimit: 12000000,
|
GasLimit: 12000000,
|
||||||
})
|
}, 1)
|
||||||
// invalid opcode
|
// invalid opcode
|
||||||
if err != nil && len(err.Error()) > 6 && err.Error()[:7] == "invalid" {
|
if err != nil && len(err.Error()) > 6 && err.Error()[:7] == "invalid" {
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user