diff --git a/main.py b/main.py index 3aaf456..4fae49e 100644 --- a/main.py +++ b/main.py @@ -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