Skip to content

Commit

Permalink
avoid network presync after finished
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Feb 17, 2024
1 parent a294094 commit 08fe5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/engine/paima-runtime/src/runtime-loops.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async function runPresync(
doLog(
`[paima-runtime] Fetching data from ${network} in range: ${presyncBlockHeight[network]}-${upper[network]}`
);
} else {
} else if (presyncBlockHeight[network]) {
doLog(
`[paima-runtime] Fetching data from ${network} in block: ${presyncBlockHeight[network]}`
);
Expand Down

0 comments on commit 08fe5a7

Please sign in to comment.