Skip to content

Commit e924a30

Browse files
committed
update method
1 parent 011ddf9 commit e924a30

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

BDKSwiftExampleWallet/Service/BDK Service/BDKService.swift

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,16 @@ private class BDKService {
253253
self.wallet = wallet
254254
}
255255

256-
private func loadWallet(descriptor: Descriptor, changeDescriptor:
257-
Descriptor) throws {
256+
private func loadWallet(
257+
descriptor: Descriptor,
258+
changeDescriptor:
259+
Descriptor
260+
) throws {
258261
// If database doesn't exist, create it from the descriptors
259-
if !FileManager.default.fileExists(atPath:
260-
URL.persistenceBackendPath) {
262+
if !FileManager.default.fileExists(
263+
atPath:
264+
URL.persistenceBackendPath
265+
) {
261266
let persister = try Persister.createConnection()
262267
self.persister = persister
263268
let wallet = try Wallet(

0 commit comments

Comments
 (0)