aboutsummaryrefslogtreecommitdiffstats
path: root/blockpool/section.go
diff options
context:
space:
mode:
Diffstat (limited to 'blockpool/section.go')
-rw-r--r--blockpool/section.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/blockpool/section.go b/blockpool/section.go
index 18a27377d..bcbd71cfc 100644
--- a/blockpool/section.go
+++ b/blockpool/section.go
@@ -106,7 +106,7 @@ func (self *section) addSectionToBlockChain(p *peer) {
var nodes []*node
var n *node
- var keys []string
+ var keys []common.Hash
var blocks []*types.Block
for self.poolRootIndex > 0 {
n = self.nodes[self.poolRootIndex-1]
@@ -117,7 +117,7 @@ func (self *section) addSectionToBlockChain(p *peer) {
break
}
self.poolRootIndex--
- keys = append(keys, n.hash.Str())
+ keys = append(keys, n.hash)
blocks = append(blocks, block)
nodes = append(nodes, n)
}