aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-04-30 06:52:25 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-04-30 06:52:25 +0800
commit3fef60190384106af390dd23a65384b9cc6e4a28 (patch)
tree49f52b8bba6af0228bb20758dd1465f8dce6842d /tests
parent764e81bf12bc45b00cec7db216e72d6396cf0c13 (diff)
parent30b921ef463247da63dece1cb81887f7e66668ff (diff)
downloadgo-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 'tests')
-rw-r--r--tests/block_test_util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/block_test_util.go b/tests/block_test_util.go
index 06f082ca3..093c9be0c 100644
--- a/tests/block_test_util.go
+++ b/tests/block_test_util.go
@@ -162,7 +162,7 @@ func (t *BlockTest) TryBlocksInsert(chainManager *core.ChainManager) error {
}
}
// RLP decoding worked, try to insert into chain:
- err = chainManager.InsertChain(types.Blocks{cb})
+ _, err = chainManager.InsertChain(types.Blocks{cb})
if err != nil {
if b.BlockHeader == nil {
continue // OK - block is supposed to be invalid, continue with next block