Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion eth/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,9 @@ func (b *testHandler) close() {
b.chain.Stop()
}

// newTestVotePool creates a mock vote pool.
// testVotePool is a mock vote pool that simply collects and stores votes.
// Its purpose is to simulate vote collection behavior without implementing
// complex validation and consensus rules.
type testVotePool struct {
pool map[common.Hash]*types.VoteEnvelope // Hash map of collected votes

Expand Down