Skip to content

Commit

Permalink
refactor(inclusion_monitor): remove unneeded ref
Browse files Browse the repository at this point in the history
  • Loading branch information
alextes committed Feb 8, 2024
1 parent e171a7b commit 847700b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/phoenix/inclusion_monitor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,17 +302,17 @@ async fn report_missing_payload(

let proposer_ip = {
let ip = proposer_ip.as_deref().unwrap_or("-");
telegram_escape(&ip)
telegram_escape(ip)
};

let proposer_country = {
let country = proposer_location.country.as_deref().unwrap_or("-");
telegram_escape(&country)
telegram_escape(country)
};

let proposer_city = {
let city = proposer_location.city.as_deref().unwrap_or("-");
telegram_escape(&city)
telegram_escape(city)
};
let proposer_meta_message = formatdoc!(
"
Expand Down

0 comments on commit 847700b

Please sign in to comment.