diff --git a/scripts/data/client2.py b/scripts/data/client2.py index 60ccc3b2..209e3c83 100644 --- a/scripts/data/client2.py +++ b/scripts/data/client2.py @@ -27,7 +27,7 @@ def calculate_batch_weight(block_data): return sum( len(tx["inputs"]) + len(tx["outputs"]) for block in block_data["blocks"] - for tx in block["transactions"] + for tx in block["data"]["transactions"] ) # Generator function to create jobs