Skip to content

Commit b6de656

Browse files
chore: bind context to function
1 parent ca44b9c commit b6de656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sdk/src/protocols/filter/subscription_manager.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class SubscriptionManager implements ISubscriptionSDK {
4747
this.subscriptionCallbacks = new Map();
4848

4949
this.reliabilityMonitor = new ReliabilityMonitor(
50-
getPeers,
50+
getPeers.bind(this),
5151
this.renewAndSubscribePeer.bind(this)
5252
);
5353
}

0 commit comments

Comments
 (0)