Skip to content

Commit 74d1344

Browse files
committed
successfully runs
1 parent 5c63c80 commit 74d1344

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

BDKSwiftExampleWallet/Service/BDK Service/BDKService.swift

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,22 @@ private class BDKService {
117117
let connection = try Connection(path: persistenceBackendPath)//let sqliteStore = try SqliteStore(path: persistenceBackendPath)
118118
self.dbService = connection//sqliteStore
119119
// let changeSet = try sqliteStore.read()
120-
let wallet = try Wallet.load(//.newOrLoad(
120+
121+
// let wallet = try Wallet.load(//.newOrLoad(
122+
// descriptor: descriptor,
123+
// changeDescriptor: changeDescriptor,
124+
// connection: connection//,
125+
//// changeSet: changeSet,
126+
//// network: network
127+
// )
128+
129+
let wallet = try Wallet(//.newOrLoad(
121130
descriptor: descriptor,
122-
changeDescriptor: changeDescriptor,
123-
connection: connection//,
124-
// changeSet: changeSet,
125-
// network: network
131+
changeDescriptor: changeDescriptor,
132+
network: network,
133+
connection: connection
126134
)
135+
127136
self.wallet = wallet
128137
}
129138

0 commit comments

Comments
 (0)