Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
humblenginr committed Apr 11, 2024
1 parent f5494cf commit 47db693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mining/merkle_tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func CalcMerkleRoot(transactions []*transaction.Transaction, witness bool) [32]b
if(witness){
txids = append(txids, [32]byte(utils.DoubleHash(t.RawHex())))
} else {
txids = append(txids, [32]byte(t.TxHash()))
txids = append(txids, [32]byte(utils.ReverseBytes(t.TxHash())))
}
}

Expand Down

0 comments on commit 47db693

Please sign in to comment.