aboutsummaryrefslogtreecommitdiffstats
path: root/tests/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/init.go')
-rw-r--r--tests/init.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/init.go b/tests/init.go
index dd8df930f..a78a2f54b 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 (
@@ -48,6 +50,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)