From a0148bf7345c1d2e79da8e71d4142bc93421ea11 Mon Sep 17 00:00:00 2001 From: Brian Balser Date: Tue, 29 Oct 2024 23:11:11 -0400 Subject: [PATCH] fix promotion rewards by encoding timestamp as seconds --- mobile_config/src/client/carrier_service_client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile_config/src/client/carrier_service_client.rs b/mobile_config/src/client/carrier_service_client.rs index 69e9be28c..bce2b7e30 100644 --- a/mobile_config/src/client/carrier_service_client.rs +++ b/mobile_config/src/client/carrier_service_client.rs @@ -71,7 +71,7 @@ impl CarrierServiceVerifier for CarrierServiceClient { &self, ) -> Result, Self::Error> { let mut request = mobile_config::CarrierIncentivePromotionListReqV1 { - timestamp: Utc::now().encode_timestamp_millis(), + timestamp: Utc::now().encode_timestamp(), signer: self.signing_key.public_key().into(), signature: vec![], };