core: remove unused else branch in reorg (#22783)

This commit is contained in:
aaronbuchwald 2021-04-30 06:47:05 -04:00 committed by GitHub
parent 8130dd5cef
commit 1e57ab5de6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2162,7 +2162,6 @@ func (bc *BlockChain) reorg(oldBlock, newBlock *types.Block) error {
l := *log
if removed {
l.Removed = true
} else {
}
logs = append(logs, &l)
}