Commit 351516c5 authored by obscuren's avatar obscuren

Cast to string for hashable type

parent 8c7b764d
......@@ -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]))
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment