File tree Expand file tree Collapse file tree 3 files changed +1
-3
lines changed
Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments