Skip to content

Commit

Permalink
hotfix: publisher balance
Browse files Browse the repository at this point in the history
  • Loading branch information
EvolveArt committed Jun 20, 2024
1 parent 9f07c96 commit d57444b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/monitoring/publisher_balance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub async fn publisher_balance(publisher_address: Felt) -> Result<f64, Monitorin
.ok_or(MonitoringError::Conversion(
"Failed to convert to f64".to_string(),
))?
/ 10u32.pow(FEE_TOKEN_DECIMALS) as f64;
/ 10_f64.powi(FEE_TOKEN_DECIMALS as i32);

Ok(on_chain_balance)
}

0 comments on commit d57444b

Please # to comment.