diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/init.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/init.go b/tests/init.go index 1deaf5912..832759f7e 100644 --- a/tests/init.go +++ b/tests/init.go @@ -8,6 +8,8 @@ import ( "net/http" "os" "path/filepath" + + "github.com/ethereum/go-ethereum/core" ) var ( @@ -43,6 +45,7 @@ func readJson(reader io.Reader, value interface{}) error { return fmt.Errorf("Error reading JSON file", err.Error()) } + core.DisableBadBlockReporting = true if err = json.Unmarshal(data, &value); err != nil { if syntaxerr, ok := err.(*json.SyntaxError); ok { line := findLine(data, syntaxerr.Offset) |