Skip to content

Commit

Permalink
Enable some production code in debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
max-signal authored Nov 18, 2024
1 parent 7fe3d40 commit 4de9951
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions SignalUI/Payments/PaymentsReconciliation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ public class PaymentsReconciliation {

private static func reconciliationDidSucceed(transaction: SDSAnyWriteTransaction,
transactionHistory: MCTransactionHistory) {
// TODO: Until reconciliation testing is complete, don't mark reconciliation as complete.
#if TESTABLE_BUILD
#else
Self.schedulingStore.setDate(Date(), key: Self.successDateKey, transaction: transaction.asV2Write)

let lastKnownBlockCount = transactionHistory.blockCount
Expand All @@ -150,7 +147,6 @@ public class PaymentsReconciliation {
Self.schedulingStore.setInt(receivedItemsCount,
key: Self.lastKnownReceivedTXOCountKey,
transaction: transaction.asV2Write)
#endif
}

public func scheduleReconciliationNow(transaction: SDSAnyWriteTransaction) {
Expand Down

0 comments on commit 4de9951

Please sign in to comment.