Skip to content

Commit

Permalink
Fix api key
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Jul 24, 2024
1 parent a02e94b commit d8abbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocol/common/connector/block-from-datetime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function fetchBlockFromDatetimeUsingExplorerAPI$<TObj, TErr extends ErrorEmitter
blockNumber = parseInt(blockNumber);
}

if (blockNumber === null) {
if (!blockNumber) {
logger.error({ msg: "No block number found", data: { timestamp, params, data: resp.data } });
throw new Error("No block number found");
}
Expand Down

0 comments on commit d8abbca

Please sign in to comment.