龚成明 2 жил өмнө
parent
commit
f0b4622a9b

+ 1 - 1
scripts/monitors/price-monitor.js

@@ -34,7 +34,7 @@ const showPrices = function(context, task) {
 
 
     // 需要输出到文件的打印逻辑
     // 需要输出到文件的打印逻辑
     const isLogToFile = (() => {
     const isLogToFile = (() => {
-      return percentage > PriceMonitorConfig.percentageLimit && (PrevOneInchPrice !== OneInchPrice && PrevBinancePrice !== BinancePrice)
+      return percentage > PriceMonitorConfig.percentageLimit && (PrevOneInchPrice !== OneInchPrice || PrevBinancePrice !== BinancePrice)
     })()
     })()
     table.showLine(rows, isLogToFile ? fileLogger : undefined)
     table.showLine(rows, isLogToFile ? fileLogger : undefined)