This commit is contained in:
peilun-conflux 2024-09-10 17:46:06 +08:00 committed by GitHub
commit ca5158906d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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
))?;