diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-18 22:04:10 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-19 00:16:53 +0800 |
commit | 59c0d014189db1b85f45ef17f458bcbc20c267b2 (patch) | |
tree | c26eef2e7b9e32b6534228ad82fafbc6b258d77e /cmd/geth | |
parent | bc5e60cd632b7ee38eb0ea9dcd80e1ca9a4ba4af (diff) | |
download | go-tangerine-59c0d014189db1b85f45ef17f458bcbc20c267b2.tar go-tangerine-59c0d014189db1b85f45ef17f458bcbc20c267b2.tar.gz go-tangerine-59c0d014189db1b85f45ef17f458bcbc20c267b2.tar.bz2 go-tangerine-59c0d014189db1b85f45ef17f458bcbc20c267b2.tar.lz go-tangerine-59c0d014189db1b85f45ef17f458bcbc20c267b2.tar.xz go-tangerine-59c0d014189db1b85f45ef17f458bcbc20c267b2.tar.zst go-tangerine-59c0d014189db1b85f45ef17f458bcbc20c267b2.zip |
core: chain manager no longer exports genesis block
Diffstat (limited to 'cmd/geth')
-rw-r--r-- | cmd/geth/js_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/geth/js_test.go b/cmd/geth/js_test.go index e02e8f704..6368efbfc 100644 --- a/cmd/geth/js_test.go +++ b/cmd/geth/js_test.go @@ -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) |