diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-06-24 23:05:23 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-06-30 00:51:49 +0800 |
commit | aba901e13cc40400b644041044ada13636927f44 (patch) | |
tree | 0212fedbfa4339ceb2f7f3fe01f9d27f505ed9a0 /core/chain_makers_test.go | |
parent | 07db098ccf94ebfa80a9dedea85b4f55ad6f8d76 (diff) | |
download | go-tangerine-aba901e13cc40400b644041044ada13636927f44.tar go-tangerine-aba901e13cc40400b644041044ada13636927f44.tar.gz go-tangerine-aba901e13cc40400b644041044ada13636927f44.tar.bz2 go-tangerine-aba901e13cc40400b644041044ada13636927f44.tar.lz go-tangerine-aba901e13cc40400b644041044ada13636927f44.tar.xz go-tangerine-aba901e13cc40400b644041044ada13636927f44.tar.zst go-tangerine-aba901e13cc40400b644041044ada13636927f44.zip |
core: removed write's go routine
Diffstat (limited to 'core/chain_makers_test.go')
-rw-r--r-- | core/chain_makers_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_makers_test.go b/core/chain_makers_test.go index d5125e1c3..8e821fc4a 100644 --- a/core/chain_makers_test.go +++ b/core/chain_makers_test.go @@ -60,7 +60,7 @@ func ExampleGenerateChain() { evmux := &event.TypeMux{} chainman, _ := NewChainManager(genesis, db, db, FakePow{}, evmux) chainman.SetProcessor(NewBlockProcessor(db, db, FakePow{}, chainman, evmux)) - if i, err := chainman.InsertChain(chain); err != nil { + if i, err := chainman.InsertChain(chain[1:]); err != nil { fmt.Printf("insert error (block %d): %v\n", i, err) return } |