From e75f58c1eec6a6ec20a959afe0c011167dfcd634 Mon Sep 17 00:00:00 2001 From: Peter Zhang Date: Mon, 2 Sep 2024 09:48:37 +0800 Subject: [PATCH] update next tx seq --- node/log_entry_sync/src/sync_manager/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/node/log_entry_sync/src/sync_manager/mod.rs b/node/log_entry_sync/src/sync_manager/mod.rs index b8a96d8..0ce7722 100644 --- a/node/log_entry_sync/src/sync_manager/mod.rs +++ b/node/log_entry_sync/src/sync_manager/mod.rs @@ -427,6 +427,7 @@ impl LogSyncManager { &executor_clone, Duration::from_millis(self.config.recover_query_delay), ); + self.next_tx_seq = self.store.next_tx_seq(); self.handle_data(recover_rx).await?; } @@ -437,6 +438,7 @@ impl LogSyncManager { self.config.default_finalized_block_count, self.config.remove_finalized_block_interval_minutes, ); + Ok(()) } }