core: remove unused else branch in reorg (#22783)
This commit is contained in:
parent
8130dd5cef
commit
1e57ab5de6
@ -2162,7 +2162,6 @@ func (bc *BlockChain) reorg(oldBlock, newBlock *types.Block) error {
|
|||||||
l := *log
|
l := *log
|
||||||
if removed {
|
if removed {
|
||||||
l.Removed = true
|
l.Removed = true
|
||||||
} else {
|
|
||||||
}
|
}
|
||||||
logs = append(logs, &l)
|
logs = append(logs, &l)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user