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

revert-23120-drop-eth-65
aaronbuchwald 4 years ago committed by GitHub
parent 8130dd5cef
commit 1e57ab5de6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      core/blockchain.go

@ -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…
Cancel
Save