Compare commits

..

1 Commits

Author SHA1 Message Date
Jason
8978b59b73
Merge ffcd9c0b25 into 1d48cb1ea7 2024-09-11 10:13:55 +08:00
2 changed files with 4 additions and 3 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 retries")?;
.ok_or("Request miner id transaction dropped after 3 retires")?;
let first_log = receipt
.logs

View File

@ -167,11 +167,12 @@ impl Submitter {
.await
.map_err(|e| format!("Fail to execute mine answer transaction: {:?}", e))?
.ok_or(format!(
"Mine answer transaction dropped after {} retries",
"Mine answer transaction dropped after {} retires",
SUBMISSION_RETIES
))?;
info!("Submit PoRA success, receipt: {:?}", receipt);
info!("Submit PoRA success");
debug!("Receipt: {:?}", receipt);
Ok(())
}