From 85bda191a6b7d451abcbb95ad7501bc510667e3d Mon Sep 17 00:00:00 2001 From: Peilun Li Date: Tue, 10 Sep 2024 17:45:43 +0800 Subject: [PATCH] Fix typos. --- node/miner/src/miner_id.rs | 2 +- node/miner/src/submitter.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/node/miner/src/miner_id.rs b/node/miner/src/miner_id.rs index bdf87fc..bf638d5 100644 --- a/node/miner/src/miner_id.rs +++ b/node/miner/src/miner_id.rs @@ -100,7 +100,7 @@ async fn request_miner_id( .retries(3) .await .map_err(|e| format!("Fail to execute mine answer transaction: {:?}", e))? - .ok_or("Request miner id transaction dropped after 3 retires")?; + .ok_or("Request miner id transaction dropped after 3 retries")?; let first_log = receipt .logs diff --git a/node/miner/src/submitter.rs b/node/miner/src/submitter.rs index 76e9952..3448e6b 100644 --- a/node/miner/src/submitter.rs +++ b/node/miner/src/submitter.rs @@ -167,7 +167,7 @@ impl Submitter { .await .map_err(|e| format!("Fail to execute mine answer transaction: {:?}", e))? .ok_or(format!( - "Mine answer transaction dropped after {} retires", + "Mine answer transaction dropped after {} retries", SUBMISSION_RETIES ))?;