@@ -332,17 +332,10 @@ class Discovery {
332332 /**
333333 * Queues a node for discovery. Internally calls `pushKeyToDiscoveryQueue`.
334334 */
335- public async queueDiscoveryByNode (
336- nodeId : NodeId ,
337- lastProcessedCutoffTime ?: number ,
338- ctx ?: Partial < ContextTimedInput > ,
339- ) : Promise < void > ;
340335 @ready ( new discoveryErrors . ErrorDiscoveryNotRunning ( ) )
341- @timedCancellable ( true )
342336 public async queueDiscoveryByNode (
343337 nodeId : NodeId ,
344- lastProcessedCutoffTime : number | undefined ,
345- @context ctx : ContextTimed ,
338+ lastProcessedCutoffTime ?: number ,
346339 ) : Promise < void > {
347340 await this . scheduleDiscoveryForVertex (
348341 [ 'node' , nodeId ] ,
@@ -355,19 +348,11 @@ class Discovery {
355348 * Queues an identity for discovery. Internally calls
356349 * `pushKeyToDiscoveryQueue`.
357350 */
358- public async queueDiscoveryByIdentity (
359- providerId : ProviderId ,
360- identityId : IdentityId ,
361- lastProcessedCutoffTime ?: number ,
362- ctx ?: Partial < ContextTimedInput > ,
363- ) : Promise < void > ;
364351 @ready ( new discoveryErrors . ErrorDiscoveryNotRunning ( ) )
365- @timedCancellable ( true )
366352 public async queueDiscoveryByIdentity (
367353 providerId : ProviderId ,
368354 identityId : IdentityId ,
369- lastProcessedCutoffTime : number | undefined ,
370- @context ctx : ContextTimed ,
355+ lastProcessedCutoffTime ?: number ,
371356 ) : Promise < void > {
372357 await this . scheduleDiscoveryForVertex (
373358 [ 'identity' , [ providerId , identityId ] ] ,
@@ -481,7 +466,6 @@ class Discovery {
481466 signedClaim as SignedClaim < ClaimLinkNode > ,
482467 nodeId ,
483468 lastProcessedCutoffTime ,
484- ctx ,
485469 ) ;
486470 break ;
487471 case 'ClaimLinkIdentity' :
@@ -508,7 +492,6 @@ class Discovery {
508492 signedClaim : SignedClaim < ClaimLinkNode > ,
509493 nodeId : NodeId ,
510494 lastProcessedCutoffTime = Date . now ( ) - this . rediscoverSkipTime ,
511- ctx : ContextTimed ,
512495 ) : Promise < void > {
513496 // Get the chain data of the linked node
514497 // Could be node1 or node2 in the claim so get the one that's
0 commit comments