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)
.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

View File

@ -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
))?;