From 5cd1b75c868a96d09922c501f12dc0c35a048e57 Mon Sep 17 00:00:00 2001 From: Matthew Plant Date: Tue, 18 Jul 2023 13:38:55 -0400 Subject: [PATCH] Fix coverage claim time adjustment --- mobile_verifier/src/coverage.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mobile_verifier/src/coverage.rs b/mobile_verifier/src/coverage.rs index b20e48c60..0f5fd2bba 100644 --- a/mobile_verifier/src/coverage.rs +++ b/mobile_verifier/src/coverage.rs @@ -255,11 +255,10 @@ impl CoveredHexStream for Pool { // Adjust the coverage let adjusted_coverage_claim_time: DateTime = sqlx::query_scalar( r#" - SELECT coverage_claim_time FROM seniority WHERE cbsd_id = $1 AND uuid = $2 + SELECT seniority_ts FROM seniority WHERE cbsd_id = $1 "#, ) .bind(cbsd_id) - .bind(*coverage_obj) .fetch_one(self) .await?; Ok(