aboutsummaryrefslogtreecommitdiffstats
path: root/blockpool/blockpool_util_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-09 23:40:28 +0800
committerobscuren <geffobscura@gmail.com>2015-04-09 23:40:28 +0800
commit01ee01219713c80fc9064e9840b42ff2fce374d7 (patch)
tree02daa2105b89b5b6419521785f6f54d217ed544c /blockpool/blockpool_util_test.go
parent0636e17dbee3accf6291000f0e4f4e713a97a207 (diff)
parent764a802eaa33892447b82069ee1b1bb5a478837b (diff)
downloaddexon-01ee01219713c80fc9064e9840b42ff2fce374d7.tar
dexon-01ee01219713c80fc9064e9840b42ff2fce374d7.tar.gz
dexon-01ee01219713c80fc9064e9840b42ff2fce374d7.tar.bz2
dexon-01ee01219713c80fc9064e9840b42ff2fce374d7.tar.lz
dexon-01ee01219713c80fc9064e9840b42ff2fce374d7.tar.xz
dexon-01ee01219713c80fc9064e9840b42ff2fce374d7.tar.zst
dexon-01ee01219713c80fc9064e9840b42ff2fce374d7.zip
Merge branch 'ethersphere-frontier/blockpool' into develop
Diffstat (limited to 'blockpool/blockpool_util_test.go')
-rw-r--r--blockpool/blockpool_util_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/blockpool/blockpool_util_test.go b/blockpool/blockpool_util_test.go
index be14fbae8..e52c0f753 100644
--- a/blockpool/blockpool_util_test.go
+++ b/blockpool/blockpool_util_test.go
@@ -87,7 +87,7 @@ func (self *blockPoolTester) insertChain(blocks types.Blocks) error {
var ok bool
for _, block := range blocks {
child = self.hashPool.HashesToIndexes([]common.Hash{block.Hash()})[0]
- var td int
+ td := child
if self.tds != nil {
td, ok = self.tds[child]
}