Skip to content

Commit 1d74c68

Browse files
committed
feat: added code review suggestion
1 parent 73a7a0c commit 1d74c68

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

BDKSwiftExampleWallet/View Model/WalletViewModel.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ class WalletViewModel {
3939
var transactions: [CanonicalTx]
4040
var walletSyncState: WalletSyncState
4141
var walletViewError: AppError?
42+
var needsFullScan: Bool {
43+
bdkClient.needsFullScan()
44+
}
4245

4346
private var updateProgress: @Sendable (UInt64, UInt64) -> Void {
4447
{ [weak self] inspected, total in

0 commit comments

Comments
 (0)