diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-04-30 06:52:25 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-04-30 06:52:25 +0800 |
commit | 3fef60190384106af390dd23a65384b9cc6e4a28 (patch) | |
tree | 49f52b8bba6af0228bb20758dd1465f8dce6842d /cmd | |
parent | 764e81bf12bc45b00cec7db216e72d6396cf0c13 (diff) | |
parent | 30b921ef463247da63dece1cb81887f7e66668ff (diff) | |
download | go-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.tar go-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.tar.gz go-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.tar.bz2 go-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.tar.lz go-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.tar.xz go-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.tar.zst go-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.zip |
Merge pull request #830 from obscuren/downloader-missing-parent
eth/downloader: missing parent improvement
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/geth/main.go | 2 | ||||
-rw-r--r-- | cmd/utils/cmd.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 365390a07..ef007051c 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -47,7 +47,7 @@ import _ "net/http/pprof" const ( ClientIdentifier = "Geth" - Version = "0.9.13" + Version = "0.9.14" ) var ( diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go index 64faf6ad1..cbb2d42aa 100644 --- a/cmd/utils/cmd.go +++ b/cmd/utils/cmd.go @@ -172,7 +172,7 @@ func ImportChain(chainmgr *core.ChainManager, fn string) error { n++ if n == batchSize { - if err := chainmgr.InsertChain(blocks); err != nil { + if _, err := chainmgr.InsertChain(blocks); err != nil { return fmt.Errorf("invalid block %v", err) } n = 0 @@ -181,7 +181,7 @@ func ImportChain(chainmgr *core.ChainManager, fn string) error { } if n > 0 { - if err := chainmgr.InsertChain(blocks[:n]); err != nil { + if _, err := chainmgr.InsertChain(blocks[:n]); err != nil { return fmt.Errorf("invalid block %v", err) } } |