Skip to content

Commit 4b7c354

Browse files
committed
This does not throw
1 parent 6e4c2d0 commit 4b7c354

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

BDKSwiftExampleWallet/Extensions/BDK+Extensions/CbfClient+Extensions.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,8 @@ extension CbfClient {
1717
.dataDir(dataDir: Constants.Config.Kyoto.dbPath)
1818
.peers(peers: Constants.Networks.Signet.Regular.kyotoPeers)
1919
.build(wallet: wallet)
20-
Task {
21-
do {
22-
try await components.node.run()
23-
} catch {
24-
// Kyoto: Failed to start node
25-
}
26-
}
2720

21+
components.node.run()
2822
components.client.startBackgroundMonitoring()
2923

3024
return (client: components.client, node: components.node)

0 commit comments

Comments
 (0)