From e0a4907c6f2e6459bf93ef6a9908eee8dd8e7499 Mon Sep 17 00:00:00 2001 From: Andrew McKenzie Date: Fri, 29 Nov 2024 16:37:02 +0000 Subject: [PATCH] tidy up --- iot_verifier/src/rewarder.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/iot_verifier/src/rewarder.rs b/iot_verifier/src/rewarder.rs index 46c062357..d5d92f095 100644 --- a/iot_verifier/src/rewarder.rs +++ b/iot_verifier/src/rewarder.rs @@ -139,12 +139,12 @@ where next_reward_epoch ))?; - let hnt_price = self + let pricer_hnt_price = self .price_tracker .price(&helium_proto::BlockchainTokenTypeV1::Hnt) .await?; - let hnt_price = HntPrice::new(hnt_price, Token::Hnt.decimals()); + let hnt_price = HntPrice::new(pricer_hnt_price, Token::Hnt.decimals()); tracing::info!( "Rewarding for epoch {} period: {} to {} with hnt bone price: {}", @@ -164,7 +164,6 @@ where .await?; // process rewards for the operational fund - reward_operational(&self.rewards_sink, &reward_info).await?; // process rewards for the oracle