Skip to content

Commit 16ade67

Browse files
authored
fix(en): Proper error handling for transaction updater (#4431)
## What ❔ <!-- What are the changes this PR brings about? --> <!-- Example: This PR adds a PR template to the repo. --> <!-- (For bigger PRs adding more context is appreciated) --> ## Why ❔ <!-- Why are these changes done? What goal do they contribute to? What are the principles behind them? --> <!-- The `Why` has to be clear to non-Matter Labs entities running their own ZK Chain --> <!-- Example: PR templates ensure PR reviewers, observers, and future iterators are in context about the evolution of repos. --> ## Is this a breaking change? - [ ] Yes - [ ] No ## Operational changes <!-- Any config changes? Any new flags? Any changes to any scripts? --> <!-- Please add anything that non-Matter Labs entities running their own ZK Chain may need to know --> ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. - [ ] Code has been formatted via `zkstack dev fmt` and `zkstack dev lint`. Signed-off-by: Danil <[email protected]>
1 parent db5741c commit 16ade67

File tree

1 file changed

+1
-1
lines changed
  • core/node/node_sync/src/transaction_finality_updater

1 file changed

+1
-1
lines changed

core/node/node_sync/src/transaction_finality_updater/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ impl BatchTransactionUpdater {
536536
);
537537
if tokio::time::timeout(self.sleep_interval, stop_receiver.changed())
538538
.await
539-
.is_err()
539+
.is_ok()
540540
{
541541
break;
542542
}

0 commit comments

Comments
 (0)