From 2109849b4017590d3d3ba2329b58555b07d2012f Mon Sep 17 00:00:00 2001 From: Dkwcs Date: Mon, 4 Nov 2024 18:30:44 +0200 Subject: [PATCH] Comment fix --- crates/iota-e2e-tests/tests/shared_objects_tests.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/iota-e2e-tests/tests/shared_objects_tests.rs b/crates/iota-e2e-tests/tests/shared_objects_tests.rs index 016beb949e2..5b670786b61 100644 --- a/crates/iota-e2e-tests/tests/shared_objects_tests.rs +++ b/crates/iota-e2e-tests/tests/shared_objects_tests.rs @@ -28,9 +28,6 @@ use rand::distributions::Distribution; use test_cluster::TestClusterBuilder; use tokio::time::sleep; -// Permitted timestamp tolerance for calculating potential time delay -const TIMESTAMP_TOLERANCE_MS: u64 = 500; - /// Send a simple shared object transaction to Iota and ensures the client gets /// back a response. #[sim_test] @@ -473,6 +470,8 @@ async fn call_shared_object_contract() { #[sim_test] async fn access_clock_object_test() { + // Permitted timestamp tolerance for calculating potential time delay + const TIMESTAMP_TOLERANCE_MS: u64 = 500; let test_cluster = TestClusterBuilder::new().build().await; let package_id = publish_basics_package(&test_cluster.wallet).await.0;