diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-11-14 17:22:29 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-11-14 17:22:29 +0100 |
commit | 25c68d44872bf285a9dfb65f3a7234fb5e99583c (patch) | |
tree | ecb38cc9571d97e5a60c282e0f3ab6da0bed7d70 | |
parent | 52f162a3ef601bcc9f6b6e1fcca0208c594053b8 (diff) |
remove more bad logging
-rw-r--r-- | src/android/index.ts | 1 | ||||
-rw-r--r-- | src/wallet.ts | 2 |
2 files changed, 1 insertions, 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; } |