diff --git a/withdrawals-meterer/src/lib.rs b/withdrawals-meterer/src/lib.rs index 1fa61bad..54e2b642 100644 --- a/withdrawals-meterer/src/lib.rs +++ b/withdrawals-meterer/src/lib.rs @@ -7,7 +7,7 @@ use std::{collections::HashMap, str::FromStr}; -use client::ETH_TOKEN_ADDRESS; +use client::{ETH_ADDRESS, ETH_TOKEN_ADDRESS}; use ethers::types::Address; use sqlx::PgPool; use storage::StoredWithdrawal; @@ -31,7 +31,7 @@ impl WithdrawalsMeter { pub fn new(pool: PgPool, component_name: &'static str) -> Self { let mut token_decimals = HashMap::new(); - token_decimals.insert(ETH_TOKEN_ADDRESS, (18_u32, ETH_TOKEN_ADDRESS)); + token_decimals.insert(ETH_TOKEN_ADDRESS, (18_u32, ETH_ADDRESS)); metrics::increment_gauge!(format!("{component_name}_token_decimals_stored"), 1.0);