Skip to content

Commit e4b1289

Browse files
committed
Grab uuid after starting synchronizer
1 parent 7515b0b commit e4b1289

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- fixed: iOS - get UUID after starting synchronizer
6+
57
## 0.10.0 (2025-11-18)
68

79
- changed: Upgrade iOS and Android sdks to v2.4.0

ios/RNZcash.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ class RNZcash: RCTEventEmitter {
126126
name: alias,
127127
keySource: nil
128128
)
129+
try await wallet.synchronizer.start()
129130
let accounts = try await wallet.synchronizer.listAccounts()
130131
let accountUUID = accounts.first(where: { $0.name == alias })?.id
131132
wallet.accountUUID = accountUUID
132-
try await wallet.synchronizer.start()
133133
wallet.subscribe()
134134
await synchronizerStore.set(wallet, for: alias)
135135
resolve(nil)

0 commit comments

Comments
 (0)