Skip to content

Commit 2b942b8

Browse files
committed
ios - resend transactions after resync
The event handlers only listens to new transactions
1 parent 2ad1f13 commit 2b942b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ios/RNZcash.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,8 @@ class RNZcash: RCTEventEmitter {
381381
wallet.cancellables.forEach { $0.cancel() }
382382
try await wallet.synchronizer.start()
383383
wallet.subscribe()
384+
let txs = try await wallet.synchronizer.allTransactions()
385+
wallet.emitTxs(transactions: txs)
384386
resolve(nil)
385387
case .failure:
386388
reject("RescanError", "Failed to rescan wallet", genericError)

0 commit comments

Comments
 (0)