Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
  • Loading branch information
gfanton committed Jan 10, 2024
1 parent 455e24f commit 044fee5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions tm2/pkg/bft/consensus/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,6 @@ func ensureDrainedChannels(t *testing.T, channels ...any) {
return
}

t.Helper()

t.Logf("checking for drained channel")
leaks := make(map[string]int)
for _, ch := range channels {
Expand Down
2 changes: 0 additions & 2 deletions tm2/pkg/bft/consensus/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ func TestStateEnterProposeNoPrivValidator(t *testing.T) {
if ensureGetRoundState(cs).Proposal != nil {
t.Error("Expected to make no proposal, since no privValidator")
}

}

// a validator should not timeout of the prevote round (TODO: unless the block is really big!)
Expand Down Expand Up @@ -309,7 +308,6 @@ func TestStateFullRound1(t *testing.T) {
ensureNewRound(newRoundCh, height+1, 0)

validateLastPrecommit(cs, vss[0], propBlockHash)

}

// nil is proposed, so prevote and precommit nil
Expand Down

0 comments on commit 044fee5

Please sign in to comment.