diff --git a/tests/verification/test_block_import.py b/tests/verification/test_block_import.py index 959db700..a4ae8285 100644 --- a/tests/verification/test_block_import.py +++ b/tests/verification/test_block_import.py @@ -36,7 +36,7 @@ def test_block_import(): print("\n1. Testing valid block import...") height = base_height parent_hash = head["hash"] - timestamp = datetime.now(UTC).isoformat() + "Z" + timestamp = datetime.now(timezone.utc).isoformat() + "Z" valid_hash = compute_block_hash(height, parent_hash, timestamp) response = requests.post(