core: chain manager no longer exports genesis block

This commit is contained in:
obscuren
2015-05-18 16:04:10 +02:00
parent bc5e60cd63
commit 59c0d01418
2 changed files with 4 additions and 2 deletions

View File

@ -172,6 +172,8 @@ func TestBlockChain(t *testing.T) {
tmpfile := filepath.Join(extmp, "export.chain")
tmpfileq := strconv.Quote(tmpfile)
ethereum.ChainManager().Reset()
checkEvalJSON(t, repl, `admin.export(`+tmpfileq+`)`, `true`)
if _, err := os.Stat(tmpfile); err != nil {
t.Fatal(err)