Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed Dec 16, 2024
1 parent f006479 commit 9baebee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mobile_verifier/tests/integrations/rewarder_sp_rewards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::collections::HashMap;
use std::string::ToString;

use async_trait::async_trait;
use chrono::{DateTime, Duration as ChronoDuration, Duration, Utc};
use chrono::{DateTime, Duration, Utc};
use helium_proto::{
service_provider_promotions::Promotion,
services::poc_mobile::{
Expand Down Expand Up @@ -289,7 +289,7 @@ async fn seed_hotspot_data(
upload_bytes: 1024 * 1000,
download_bytes: 1024 * 10000,
num_dcs: 10_000,
received_timestamp: ts - ChronoDuration::hours(1),
received_timestamp: ts - Duration::hours(1),
};

let data_session_2 = data_session::HotspotDataSession {
Expand All @@ -298,7 +298,7 @@ async fn seed_hotspot_data(
upload_bytes: 1024 * 1000,
download_bytes: 1024 * 50000,
num_dcs: 50_000,
received_timestamp: ts - ChronoDuration::hours(2),
received_timestamp: ts - Duration::hours(2),
};

data_session_1.save(txn).await?;
Expand All @@ -316,7 +316,7 @@ async fn seed_hotspot_data_invalid_sp(
upload_bytes: 1024 * 1000,
download_bytes: 1024 * 10000,
num_dcs: 10_000,
received_timestamp: ts - ChronoDuration::hours(2),
received_timestamp: ts - Duration::hours(2),
};

let data_session_2 = data_session::HotspotDataSession {
Expand All @@ -325,7 +325,7 @@ async fn seed_hotspot_data_invalid_sp(
upload_bytes: 1024 * 1000,
download_bytes: 1024 * 50000,
num_dcs: 50_000,
received_timestamp: ts - ChronoDuration::hours(2),
received_timestamp: ts - Duration::hours(2),
};

data_session_1.save(txn).await?;
Expand Down

0 comments on commit 9baebee

Please sign in to comment.