Skip to content

Commit

Permalink
Rename const variable
Browse files Browse the repository at this point in the history
  • Loading branch information
matjazv committed Nov 7, 2024
1 parent b8d1de8 commit 2a42f55
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions web3-functions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const ORACLE_ABI = [

const MIN_DEVIATION = 0.5; // 0.5%

const isDebugMode = false;
const debugLog = conditionalLog(isDebugMode);
const DEBUG_MODE = false;
const debugLog = conditionalLog(DEBUG_MODE);

interface DataFeed {
symbol: string;
Expand Down Expand Up @@ -97,7 +97,6 @@ Web3Function.onRun(async (context: Web3FunctionContext) => {
debugLog("Unsigned metadata: ", toUtf8String(parsingResult.unsignedMetadata));
debugLog("Data packages count: ", parsingResult.signedDataPackages.length);
debugLog(
isDebugMode,
"------------------------------------------------------------------------"
);

Expand Down

0 comments on commit 2a42f55

Please sign in to comment.