Skip to content

Commit

Permalink
fix: correct address of l2 ethereum token take 2 (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
montekki committed Sep 29, 2023
1 parent 4d1e8d4 commit fcc4d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions withdrawals-meterer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);

Expand Down

0 comments on commit fcc4d32

Please sign in to comment.