From 9da1b54b3abcc1331599fa65152ee9e2fac89781 Mon Sep 17 00:00:00 2001 From: Pavitra Agarwal Date: Tue, 30 Apr 2024 00:15:28 +0530 Subject: [PATCH] merkle --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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