From 1e54a62de207dcfc69eea58a393dc88868c4d566 Mon Sep 17 00:00:00 2001 From: HashEngineering Date: Tue, 22 Oct 2024 08:20:43 -0700 Subject: [PATCH] fix: remove unnecessary firebase id in SendCoinsTaskRunner --- .../src/de/schildbach/wallet/payments/SendCoinsTaskRunner.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wallet/src/de/schildbach/wallet/payments/SendCoinsTaskRunner.kt b/wallet/src/de/schildbach/wallet/payments/SendCoinsTaskRunner.kt index f3ef41a21..085b37f09 100644 --- a/wallet/src/de/schildbach/wallet/payments/SendCoinsTaskRunner.kt +++ b/wallet/src/de/schildbach/wallet/payments/SendCoinsTaskRunner.kt @@ -17,7 +17,6 @@ package de.schildbach.wallet.payments import androidx.annotation.VisibleForTesting -import com.google.firebase.installations.FirebaseInstallations import de.schildbach.wallet.WalletApplication import de.schildbach.wallet.data.CoinJoinConfig import de.schildbach.wallet.data.PaymentIntent @@ -88,10 +87,6 @@ class SendCoinsTaskRunner @Inject constructor( coinJoinSend = mode != CoinJoinMode.NONE } .launchIn(coroutineScope) - - FirebaseInstallations.getInstance().id.addOnCompleteListener { task -> - firebaseInstallationId = if (task.isSuccessful) task.result else "" - } } @Throws(LeftoverBalanceException::class)