Skip to content

Commit

Permalink
feat(inclusion_monitor): escape missing on chain hash
Browse files Browse the repository at this point in the history
  • Loading branch information
alextes committed Feb 8, 2024
1 parent 195373c commit 3b3e259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phoenix/inclusion_monitor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ async fn report_missing_payload(

let slot = payload.slot;
let payload_block_hash = &payload.block_hash;
let on_chain_block_hash = found_block_hash.unwrap_or_else(|| "-".to_string());
let on_chain_block_hash = telegram_escape(&found_block_hash.as_deref().unwrap_or("-"));

Check failure on line 241 in src/phoenix/inclusion_monitor/mod.rs

View workflow job for this annotation

GitHub Actions / Lints

this expression creates a reference which is immediately dereferenced by the compiler

let mut message = formatdoc!(
"
Expand Down

0 comments on commit 3b3e259

Please sign in to comment.