Skip to content

Commit

Permalink
merkle
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavitra Agarwal authored and Pavitra Agarwal committed Apr 29, 2024
1 parent 7b835c4 commit 9da1b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def initializeTxn(txex , segwitness) :
block = Block (
version = 0x20000002,
prev_block= bytes.fromhex(base_block),
merkle_root= merkle_root(txides),
merkle_root= merkle_root(txides)[::-1],
timestamp= int(ts),
bits=bytes.fromhex('1f00ffff'),
nonce= bytes.fromhex(nonce()), #nonce()) , #nonce should be of the bytes
Expand Down

0 comments on commit 9da1b54

Please sign in to comment.