mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-02-17 11:53:14 +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)
|
||||
};
|
||||
|
||||
info!("Resubmitting {} pending blocks", pending_blocks.len());
|
||||
for block in &pending_blocks {
|
||||
if let Some(block) = pending_blocks.first() {
|
||||
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
|
||||
// on every retry.
|
||||
let (tx, _msg_id) = block_settlement_client
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user