Skip to content

Commit

Permalink
correcting merkle root error
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavitra Agarwal authored and Pavitra Agarwal committed Apr 30, 2024
1 parent 8aed397 commit e9ee2aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ def initializeTxn(txex , segwitness) :



hashes = [little_endian_to_big_endian_txid(tx) for tx in txids]
wxc = wxcommitment((merkle_root(hashes)),bytes.fromhex(wxtidcons)).hex()
# hashes = [little_endian_to_big_endian_txid(tx) for tx in txids]
# wxc = wxcommitment((merkle_root(hashes)),bytes.fromhex(wxtidcons)).hex()
# witnesscomitmentpubkeyscript = "6a24aa21a9ed"+wxc
witnesscomitmentpubkeyscript = "6a24aa21a9ed"+"2970b974bfa464d2034e1e87fd186133bc1353406ddf5e30f5f4bbb1a95c5f81"

Expand Down

0 comments on commit e9ee2aa

Please sign in to comment.