Skip to content

Commit

Permalink
fix if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Dec 15, 2023
1 parent fedfd12 commit be7c84f
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 @@ -62,7 +62,7 @@ async function runPresync(
startBlockHeight
);

if (!ENV.CARP_URL && presyncBlockHeight[Network.CARDANO] === -1) {
if (!ENV.CARP_URL) {
if (presyncBlockHeight[Network.CARDANO] === -1) {
delete presyncBlockHeight[Network.CARDANO];
} else {
Expand Down

0 comments on commit be7c84f

Please sign in to comment.