diff options
Diffstat (limited to 'internal/quorum/quorum_test.go')
| -rw-r--r-- | internal/quorum/quorum_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/quorum/quorum_test.go b/internal/quorum/quorum_test.go index fd51fb6..3ae87c6 100644 --- a/internal/quorum/quorum_test.go +++ b/internal/quorum/quorum_test.go @@ -134,7 +134,7 @@ func TestExpire(t *testing.T) { t.Errorf("Expected to have two votes before expiry: %v", quo) } - newVote, _ := quo.pruneVotes() + newVote, _ := quo.expireOldVotes() if len(quo.votes) != 1 { t.Errorf("Expected to have one vote after expiry: %v", quo) } |
