We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e819d8 commit 98625f2Copy full SHA for 98625f2
app/src/main/java/to/bitkit/repositories/LightningRepo.kt
@@ -199,7 +199,7 @@ class LightningRepo @Inject constructor(
199
suspend fun getPayments(): Result<List<PaymentDetails>> = withContext(bgDispatcher) {
200
try {
201
val payments = lightningService.payments
202
- ?: return@withContext Result.failure(Exception("It wan't possible get the payments"))
+ ?: return@withContext Result.failure(Exception("It wasn't possible get the payments"))
203
Result.success(payments)
204
} catch (e: Throwable) {
205
Logger.error("getPayments error", e)
0 commit comments