summaryrefslogtreecommitdiff
path: root/internal/quorum.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-05-20 01:41:36 +0300
committerPaul Buetow <paul@buetow.org>2023-05-20 01:41:36 +0300
commit16019def84f61d4adc9e25e4bd2d0a6c8bf36c40 (patch)
treeba5af844ccbe6a84947aaee6cb8bab633333c6c4 /internal/quorum.go
parent7e33bdc70eb397882fbe989fee1fa00385335917 (diff)
run expiry after expiryTime automatically
Diffstat (limited to 'internal/quorum.go')
-rw-r--r--internal/quorum.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/quorum.go b/internal/quorum.go
index b506bfb..179efb1 100644
--- a/internal/quorum.go
+++ b/internal/quorum.go
@@ -27,7 +27,6 @@ func (q quorumMap) winner(config config) (string, error) {
}
func (q quorumMap) score(config config) (scores []score) {
- q.cleanExpired()
scoreMap := make(map[string]int)
for _, vote := range q {