Browse Source

Remove unneeded logging (#211)

Ali Behjati 3 năm trước cách đây
mục cha
commit
cabb5e08f5
1 tập tin đã thay đổi với 1 bổ sung6 xóa
  1. 1 6
      third_party/pyth/price-service/src/listen.ts

+ 1 - 6
third_party/pyth/price-service/src/listen.ts

@@ -163,11 +163,6 @@ export class Listener implements PriceFeedPriceInfo {
     );
 
     if (!isAnyPriceNew) {
-      logger.debug(
-        "For all prices there exists an update with newer sequence number, ignoring this attestation." +
-        "batch price attestation: %o",
-        batchAttestation
-      );
       return;
     }
 
@@ -186,7 +181,7 @@ export class Listener implements PriceFeedPriceInfo {
     }
 
     logger.info(
-      "Parsed Batch Price Attestation: [" +
+      "Parsed a new Batch Price Attestation: [" +
       parsedVAA.emitter_chain +
       ":" +
       uint8ArrayToHex(parsedVAA.emitter_address) +