File tree Expand file tree Collapse file tree
app/src/main/java/to/bitkit/services Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import kotlinx.coroutines.flow.first
2323import kotlinx.coroutines.flow.update
2424import kotlinx.serialization.SerialName
2525import kotlinx.serialization.Serializable
26- import kotlinx.serialization.encodeToString
2726import kotlinx.serialization.json.JsonObject
2827import kotlinx.serialization.json.JsonPrimitive
2928import kotlinx.serialization.json.buildJsonObject
@@ -1212,6 +1211,8 @@ class MigrationService @Inject constructor(
12121211 val bitkitFiles = rnBackupClient.listFiles(fileGroup = " bitkit" )?.list ? : emptyList()
12131212 retrieveAndApplyBitkitBackups(bitkitFiles)
12141213 markMigrationCompleted()
1214+ }.onSuccess {
1215+ settingsStore.update { it.copy(backupVerified = true ) }
12151216 }.onFailure { e ->
12161217 Logger .error(" RN remote backup restore failed" , e, context = TAG )
12171218 throw e
@@ -1419,6 +1420,7 @@ class MigrationService @Inject constructor(
14191420 Logger .warn(" Paid order $orderId not found in fetched orders" , context = TAG )
14201421 null
14211422 }
1423+
14221424 order.state2 == com.synonym.bitkitcore.BtOrderState2 .EXECUTED -> null
14231425 else -> TransferEntity (
14241426 id = txId,
You can’t perform that action at this time.
0 commit comments