From 87b10243b941ca03301a713c678bc7eee701b86e Mon Sep 17 00:00:00 2001 From: petscheit Date: Thu, 3 Oct 2024 13:19:07 +0200 Subject: [PATCH] fix: failing test --- tests/python/test_tx_decoding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python/test_tx_decoding.py b/tests/python/test_tx_decoding.py index a948f7fa..caaaa75c 100644 --- a/tests/python/test_tx_decoding.py +++ b/tests/python/test_tx_decoding.py @@ -37,7 +37,7 @@ def fetch_tx(tx_hash): def fetch_transaction_dict(tx_hash): tx = fetch_tx(tx_hash) - assert tx_hash == "0x" + tx.hash().hex(), "TX hashes do not match!" + assert tx_hash == tx.hash().hex(), "TX hashes do not match!" rlp = bytes_to_8_bytes_chunks_little(tx.raw_rlp()) tx_dict = { "rlp": rlp,