This repository was archived by the owner on May 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -457,8 +457,9 @@ func (n *Node) waitSignerPublicationDelay(
457457 signerIndex , err := n .getSignerIndex (keepAddress )
458458 if err != nil {
459459 logger .Error (
460- "could not determine signer publication delay: [%v]; " +
461- "signer publication delay will not be preserved" ,
460+ "could not determine signer publication delay for keep [%s]: " +
461+ "[%v]; signer publication delay will not be preserved" ,
462+ keepAddress .String (),
462463 err ,
463464 )
464465 return
@@ -467,16 +468,23 @@ func (n *Node) waitSignerPublicationDelay(
467468 // just in case this function is not invoked in the right context
468469 if signerIndex < 0 {
469470 logger .Error (
470- "could not determine signer publication delay: " +
471+ "could not determine signer publication delay for keep [%s] : " +
471472 "[signer index is less than zero]; " +
472473 "signer publication delay will not be preserved" ,
474+ keepAddress .String (),
473475 err ,
474476 )
475477 return
476478 }
477479
478480 delay := time .Duration (signerIndex ) * signerPublicationDelayStep
479481
482+ logger .Infof (
483+ "waiting [%v] before publishing signature for keep [%s]" ,
484+ delay ,
485+ keepAddress .String (),
486+ )
487+
480488 time .Sleep (delay )
481489}
482490
You can’t perform that action at this time.
0 commit comments