Skip to content

Commit

Permalink
prevent TzKT from listening to all wallets
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcl committed Jul 11, 2024
1 parent c388453 commit a975365
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/KukaiCoreSwift/Clients/TzKTClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,7 @@ public class TzKTClient {
extension TzKTClient: HubConnectionDelegate {

public func connectionDidOpen(hubConnection: HubConnection) {
if addressesToWatch.count == 0 { return }

// Request to be subscribed to events belonging to the given account
let subscription = AccountSubscription(addresses: addressesToWatch)
Expand Down

0 comments on commit a975365

Please sign in to comment.