diff options
Diffstat (limited to 'blockpool/blockpool_util_test.go')
-rw-r--r-- | blockpool/blockpool_util_test.go | 2 |
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] } |