From 351516c57cb5872e849ffca643526da5801564f2 Mon Sep 17 00:00:00 2001
From: obscuren <geffobscura@gmail.com>
Date: Fri, 9 Jan 2015 22:23:33 +0100
Subject: [PATCH] Cast to string  for hashable type

---
 core/block_processor.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/block_processor.go b/core/block_processor.go
index 3ccf2d03c..a9f948a46 100644
--- a/core/block_processor.go
+++ b/core/block_processor.go
@@ -308,7 +308,7 @@ func (sm *BlockProcessor) AccumelateRewards(statedb *state.StateDB, block, paren
 		}
 		uncles.Add(string(uncle.Hash()))
 
-		if !ancestors.Has(uncle.ParentHash) {
+		if !ancestors.Has(string(uncle.ParentHash)) {
 			return UncleError(fmt.Sprintf("Uncle's parent unknown (%x)", uncle.ParentHash[0:4]))
 		}
 
-- 
GitLab