فهرست منبع

remove unnecessary comments

Daniel Chew 8 ماه پیش
والد
کامیت
126468ef85
2فایلهای تغییر یافته به همراه2 افزوده شده و 4 حذف شده
  1. 1 1
      apps/price_pusher/src/aptos/command.ts
  2. 1 3
      apps/price_pusher/src/sui/command.ts

+ 1 - 1
apps/price_pusher/src/aptos/command.ts

@@ -139,7 +139,7 @@ export default {
       const balanceTracker = createAptosBalanceTracker({
         address: account.address().toString(),
         endpoint,
-        network: "aptos", // You might want to extract network name from config
+        network: "aptos",
         updateInterval: pushingFrequency,
         metrics,
         logger: logger.child({ module: "AptosBalanceTracker" }),

+ 1 - 3
apps/price_pusher/src/sui/command.ts

@@ -178,12 +178,10 @@ export default {
 
     // Create and start the balance tracker if metrics are enabled
     if (metrics) {
-      // For Sui, we'll use a simple network identification approach
-      // In the future, this could be improved by querying the network directly
       const balanceTracker = createSuiBalanceTracker({
         client: suiClient,
         address: suiAddress,
-        network: "sui", // Simply use "sui" as the network name for now
+        network: "sui",
         updateInterval: pushingFrequency,
         metrics,
         logger,