core: remove redundant parentheses (#19106)
This commit is contained in:
committed by
Péter Szilágyi
parent
b5e5b3567c
commit
bf42535d31
@ -456,7 +456,7 @@ func (bc *BlockChain) repair(head **types.Block) error {
|
||||
if block == nil {
|
||||
return fmt.Errorf("missing block %d [%x]", (*head).NumberU64()-1, (*head).ParentHash())
|
||||
}
|
||||
(*head) = block
|
||||
*head = block
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user