浏览代码

remove comment

0xfirefist 1 年之前
父节点
当前提交
38a9770b23
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      apps/fortuna/src/command/run.rs

+ 1 - 2
apps/fortuna/src/command/run.rs

@@ -293,7 +293,7 @@ pub async fn track_balance(
                 Ok(r) => r.as_u128(),
                 Err(_e) => continue,
             };
-            // The f64 conversion is made to be able to serve metrics with the constraints of Prometheus.
+            // The f64 conversion is made to be able to serve metrics within the constraints of Prometheus.
             // The balance is in wei, so we need to divide by 1e18 to convert it to eth.
             let balance = balance as f64 / 1e18;
 
@@ -303,7 +303,6 @@ pub async fn track_balance(
                     chain_id: chain_id.clone(),
                     address:  address.to_string(),
                 })
-                // comment on why is this ok
                 .set(balance);
         }