Skip to content

Commit

Permalink
adding the bits
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavitra Agarwal authored and Pavitra Agarwal committed Apr 28, 2024
1 parent e18b9ea commit d281168
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 @@ -171,7 +171,7 @@ def initializeTxn(txex , segwitness) :
prev_block= bytes.fromhex(base_block),
merkle_root= merkle_root(txides) ,
timestamp= int(ts),
bits=bytes.fromhex('1dffff00') ,
bits=bytes.fromhex('1f00ffff') ,
nonce= bytes.fromhex(nonce()) , #nonce()) , #nonce should be of the bytes
tx_hashes = txides
)
Expand Down

0 comments on commit d281168

Please sign in to comment.