Fix typos.

This commit is contained in:
Peilun Li 2024-09-10 17:45:43 +08:00
parent 702680f3a4
commit 85bda191a6
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ async fn request_miner_id(
.retries(3) .retries(3)
.await .await
.map_err(|e| format!("Fail to execute mine answer transaction: {:?}", e))? .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 let first_log = receipt
.logs .logs

View File

@ -167,7 +167,7 @@ impl Submitter {
.await .await
.map_err(|e| format!("Fail to execute mine answer transaction: {:?}", e))? .map_err(|e| format!("Fail to execute mine answer transaction: {:?}", e))?
.ok_or(format!( .ok_or(format!(
"Mine answer transaction dropped after {} retires", "Mine answer transaction dropped after {} retries",
SUBMISSION_RETIES SUBMISSION_RETIES
))?; ))?;