Skip to content

Commit

Permalink
noplogger
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Nov 15, 2023
1 parent 23e7492 commit 3c1f77a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions signer/threshold_validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func testThresholdValidator(t *testing.T, threshold, total uint8) {
leader := &MockLeader{id: 1}

validator := NewThresholdValidator(
cometlog.NewTMLogger(cometlog.NewSyncWriter(os.Stdout)),
cometlog.NewNopLogger(),
cosigners[0].config,
int(threshold),
time.Second,
Expand Down Expand Up @@ -168,7 +168,7 @@ func testThresholdValidator(t *testing.T, threshold, total uint8) {

// reinitialize validator to make sure new runtime will not allow double sign
newValidator := NewThresholdValidator(
cometlog.NewTMLogger(cometlog.NewSyncWriter(os.Stdout)),
cometlog.NewNopLogger(),
cosigners[0].config,
int(threshold),
time.Second,
Expand Down Expand Up @@ -334,7 +334,7 @@ func getTestLocalCosigners(t *testing.T, threshold, total uint8) ([]*LocalCosign
}

cosigner := NewLocalCosigner(
cometlog.NewTMLogger(cometlog.NewSyncWriter(os.Stdout)),
cometlog.NewNopLogger(),
cosignerConfig,
NewCosignerSecurityECIES(
CosignerECIESKey{
Expand Down Expand Up @@ -377,7 +377,7 @@ func testThresholdValidatorLeaderElection(t *testing.T, threshold, total uint8)
}
leaders[i] = &MockLeader{id: cosigner.GetID(), leader: leader}
tv := NewThresholdValidator(
cometlog.NewTMLogger(cometlog.NewSyncWriter(os.Stdout)),
cometlog.NewNopLogger(),
cosigner.config,
int(threshold),
time.Second,
Expand Down

0 comments on commit 3c1f77a

Please sign in to comment.