Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gostkin committed Dec 12, 2023
1 parent 1befbef commit c00f752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/engine/paima-runtime/src/cde-config/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function getEarliestStartBlockheight(config: ChainDataExtension[]): numbe
const minStartBlockheight = config.reduce((min, cde) => {
if (
cde.cdeType !== ChainDataExtensionType.CardanoPool &&
cde.cdeType != ChainDataExtensionType.CardanoProjectedNFT
cde.cdeType !== ChainDataExtensionType.CardanoProjectedNFT
) {
return Math.min(min, cde.startBlockHeight);
}
Expand All @@ -21,7 +21,7 @@ export function getEarliestStartSlot(config: ChainDataExtension[]): number {
const minStartSlot = config.reduce((min, cde) => {
if (
cde.cdeType === ChainDataExtensionType.CardanoPool ||
cde.cdeType == ChainDataExtensionType.CardanoProjectedNFT
cde.cdeType === ChainDataExtensionType.CardanoProjectedNFT
) {
return Math.min(min, cde.startSlot);
}
Expand Down

0 comments on commit c00f752

Please sign in to comment.