From 25c68d44872bf285a9dfb65f3a7234fb5e99583c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 14 Nov 2019 17:22:29 +0100 Subject: [PATCH] remove more bad logging --- src/android/index.ts | 1 - src/wallet.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/android/index.ts b/src/android/index.ts index d3f5cd0d6..b8bb77e0a 100644 --- a/src/android/index.ts +++ b/src/android/index.ts @@ -203,7 +203,6 @@ export function installAndroidWalletListener() { } const respMsg = { result, id, operation, type: "response" }; - console.log("sending message back", respMsg); sendMessage(JSON.stringify(respMsg)); }; // @ts-ignore diff --git a/src/wallet.ts b/src/wallet.ts index c73af9062..bbeaca601 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -2355,7 +2355,7 @@ export class Wallet { tx.iter(Stores.reserves).fold(collectPaybacks, balanceStore); tx.iter(Stores.purchases).fold(collectPayments, balanceStore); await tx.finish(); - console.log("computed balances:", balanceStore) + Wallet.enableTracing && console.log("computed balances:", balanceStore) return balanceStore; }