mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-17 05:29:32 +00:00
fix: resubmit just one pending block
This commit is contained in:
parent
c63ecd6aba
commit
91e57bbf1b
@ -174,8 +174,11 @@ async fn retry_pending_blocks_loop(
|
|||||||
(pending_blocks, client)
|
(pending_blocks, client)
|
||||||
};
|
};
|
||||||
|
|
||||||
info!("Resubmitting {} pending blocks", pending_blocks.len());
|
if let Some(block) = pending_blocks.first() {
|
||||||
for block in &pending_blocks {
|
info!(
|
||||||
|
"Resubmitting pending block with id {}",
|
||||||
|
block.header.block_id
|
||||||
|
);
|
||||||
// TODO: We could cache the inscribe tx for each pending block to avoid re-creating it
|
// TODO: We could cache the inscribe tx for each pending block to avoid re-creating it
|
||||||
// on every retry.
|
// on every retry.
|
||||||
let (tx, _msg_id) = block_settlement_client
|
let (tx, _msg_id) = block_settlement_client
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user