reviewdog [golangci] report
reported by reviewdog 🐶
Findings (2)
pkg/protocol/sybilprotection/seatmanager/poa/poa.go|149 col 39| unused-parameter: parameter 'slot' seems to be unused, consider removing or renaming it as _ (revive)
pkg/protocol/sybilprotection/seatmanager/poa/poa.go|156 col 40| unused-parameter: parameter 'epoch' seems to be unused, consider removing or renaming it as _ (revive)
Filtered Findings (0)
Annotations
Check failure on line 149 in pkg/protocol/sybilprotection/seatmanager/poa/poa.go
github-actions / golangci
[golangci] pkg/protocol/sybilprotection/seatmanager/poa/poa.go#L149
unused-parameter: parameter 'slot' seems to be unused, consider removing or renaming it as _ (revive)
Raw output
pkg/protocol/sybilprotection/seatmanager/poa/poa.go:149:39: unused-parameter: parameter 'slot' seems to be unused, consider removing or renaming it as _ (revive)
func (s *SeatManager) SeatCountInSlot(slot iotago.SlotIndex) int {
^
Check failure on line 156 in pkg/protocol/sybilprotection/seatmanager/poa/poa.go
github-actions / golangci
[golangci] pkg/protocol/sybilprotection/seatmanager/poa/poa.go#L156
unused-parameter: parameter 'epoch' seems to be unused, consider removing or renaming it as _ (revive)
Raw output
pkg/protocol/sybilprotection/seatmanager/poa/poa.go:156:40: unused-parameter: parameter 'epoch' seems to be unused, consider removing or renaming it as _ (revive)
func (s *SeatManager) SeatCountInEpoch(epoch iotago.EpochIndex) int {
^