From deb1528ca0765146d4b759e3ccf0fa2b37c0bd08 Mon Sep 17 00:00:00 2001 From: Igor Mandrigin Date: Tue, 16 Mar 2021 11:57:52 +0100 Subject: [PATCH] fix compilation in runtime_fuzz --- tests/fuzzers/runtime/runtime_fuzz.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fuzzers/runtime/runtime_fuzz.go b/tests/fuzzers/runtime/runtime_fuzz.go index f23503be0..edf50b88f 100644 --- a/tests/fuzzers/runtime/runtime_fuzz.go +++ b/tests/fuzzers/runtime/runtime_fuzz.go @@ -27,7 +27,7 @@ import ( func Fuzz(input []byte) int { _, _, err := runtime.Execute(input, input, &runtime.Config{ GasLimit: 12000000, - }) + }, 1) // invalid opcode if err != nil && len(err.Error()) > 6 && err.Error()[:7] == "invalid" { return 0