Skip to content

Commit

Permalink
Merge pull request #248 from kcalvinalvin/2025-01-23-remove-extra-if-…
Browse files Browse the repository at this point in the history
…branch

blockchain: remove extra unneeded if branch
kcalvinalvin authored Jan 31, 2025
2 parents 4b1efbd + f43b1f5 commit 4d28247
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions blockchain/chain.go
Original file line number Diff line number Diff line change
@@ -1086,10 +1086,6 @@ func (b *BlockChain) reorganizeChain(detachNodes, attachNodes *list.List) error
return fmt.Errorf("reorganizeChain fail while attaching "+
"block %s. Error: %v", block.Hash().String(), err)
}
if err != nil {
return fmt.Errorf("reorganizeChain fail while attaching "+
"block %s. Error: %v", block.Hash().String(), err)
}

err = view.BlockToUtxoView(block)
if err != nil {

0 comments on commit 4d28247

Please sign in to comment.