Skip to content

Commit

Permalink
fix: remove unnecessary firebase id in SendCoinsTaskRunner
Browse files Browse the repository at this point in the history
  • Loading branch information
HashEngineering committed Oct 22, 2024
1 parent ab41f9d commit 1e54a62
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 1e54a62

Please sign in to comment.