mirror of https://github.com/status-im/op-geth.git
Cast to string for hashable type
This commit is contained in:
parent
8c7b764d47
commit
351516c57c
|
@ -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]))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue