Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
frankcrypto committed Aug 13, 2024
1 parent aceb600 commit a3cc6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blockchain/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (b *BlockChain) checkBlockSanity(block *types.SerializedBlock, timeSource m
// merkle trees above.
existingTxHashes := make(map[hash.Hash]struct{})

allTransactions := append(transactions,[]*types.Tx{}...)
allTransactions := append(transactions)

for _, tx := range allTransactions {
h := tx.Hash()
Expand Down

0 comments on commit a3cc6ab

Please sign in to comment.