Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Nov 20, 2023
1 parent b32b957 commit 47ebefa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions signer/cosigner_nonce_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,6 @@ func (cnc *CosignerNonceCache) reconcile(ctx context.Context) {
if noncesPerMin < 0 {
noncesPerMin = 0
}
cnc.logger.Debug("Reconciling nonces",
"remaining", remainingNonces,
"lastReconcileNonces", lastReconcileNonces,
"noncesPerMin", noncesPerMin,
"timeSinceLastReconcile", timeSinceLastReconcile,
)

if cnc.noncesPerMinute == 0 {
// initialize nonces per minute for weighted average
Expand Down
2 changes: 1 addition & 1 deletion signer/cosigner_nonce_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func TestNonceCacheDemand(t *testing.T) {
&MockLeader{id: 1, leader: &ThresholdValidator{myCosigner: lcs[0]}},
500*time.Millisecond,
100*time.Millisecond,
1*time.Second,
5*time.Second,
2,
mp,
)
Expand Down

0 comments on commit 47ebefa

Please sign in to comment.