fix: use timezone.utc in test_block_import.py
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Python Tests / test-python (push) Failing after 1m4s

This commit is contained in:
aitbc
2026-05-09 12:08:09 +02:00
parent d26e6d3772
commit 75e590a839

View File

@@ -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(