mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-11-10 10:05:17 +00:00
Compare commits
3 Commits
2304a2b001
...
ede6385cfa
Author | SHA1 | Date | |
---|---|---|---|
|
ede6385cfa | ||
|
a4dd88f2b8 | ||
|
3dc3d0574f |
@ -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
|
||||||
|
@ -167,12 +167,11 @@ 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
|
||||||
))?;
|
))?;
|
||||||
|
|
||||||
info!("Submit PoRA success");
|
info!("Submit PoRA success, receipt: {:?}", receipt);
|
||||||
debug!("Receipt: {:?}", receipt);
|
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user