Skip to content

Commit

Permalink
core: remove unused else branch in reorg (ethereum#22783)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbuchwald authored Apr 30, 2021
1 parent 8130dd5 commit 1e57ab5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 1e57ab5

Please sign in to comment.