Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed Dec 2, 2024
1 parent 0efc7dc commit e0a4907
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions iot_verifier/src/rewarder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}",
Expand All @@ -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
Expand Down

0 comments on commit e0a4907

Please sign in to comment.