mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-11-10 10:05:17 +00:00
Compare commits
1 Commits
87b58a1b67
...
8978b59b73
Author | SHA1 | Date | |
---|---|---|---|
|
8978b59b73 |
@ -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 retries")?;
|
.ok_or("Request miner id transaction dropped after 3 retires")?;
|
||||||
|
|
||||||
let first_log = receipt
|
let first_log = receipt
|
||||||
.logs
|
.logs
|
||||||
|
@ -167,11 +167,12 @@ 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 {} retries",
|
"Mine answer transaction dropped after {} retires",
|
||||||
SUBMISSION_RETIES
|
SUBMISSION_RETIES
|
||||||
))?;
|
))?;
|
||||||
|
|
||||||
info!("Submit PoRA success, receipt: {:?}", receipt);
|
info!("Submit PoRA success");
|
||||||
|
debug!("Receipt: {:?}", receipt);
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user