Skip to content

Commit f52afde

Browse files
committed
fixes
1 parent 8cc7f9e commit f52afde

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

BDKSwiftExampleWallet/App/BDKSwiftExampleWalletApp.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ struct BDKSwiftExampleWalletApp: App {
4040
}
4141
}
4242
.onChange(of: isOnboarding) { oldValue, newValue in
43-
// BDKClient.live.setNeedsFullScan(true)
4443
isNeedFullScan = true
4544
navigationPath = NavigationPath()
4645
}

BDKSwiftExampleWallet/View Model/WalletViewModel.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ class WalletViewModel {
101101

102102
func getBalance() {
103103
do {
104-
// let balance = try bdkClient.getBalance()
105104
let balance = try bdkSyncService.getBalance()
106105
self.balanceTotal = balance.total.toSat()
107106
} catch let error as WalletError {

BDKSwiftExampleWallet/View/WalletView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ struct WalletView: View {
5050
totalScripts: viewModel.totalScripts,
5151
needsFullScan: viewModel.isNeedFullScan
5252
) {
53-
isNeedFullScan = false
5453
showAllTransactions = true
5554
}
5655

@@ -119,6 +118,7 @@ struct WalletView: View {
119118
}
120119
viewModel.getTransactions()
121120
await viewModel.getPrices()
121+
// isNeedFullScan = false
122122
}
123123

124124
}

0 commit comments

Comments
 (0)