summaryrefslogtreecommitdiff
path: root/agreement/agreementtest/keyManager.go
diff options
context:
space:
mode:
Diffstat (limited to 'agreement/agreementtest/keyManager.go')
-rw-r--r--agreement/agreementtest/keyManager.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/agreement/agreementtest/keyManager.go b/agreement/agreementtest/keyManager.go
index 384fba8cd..340c8f40e 100644
--- a/agreement/agreementtest/keyManager.go
+++ b/agreement/agreementtest/keyManager.go
@@ -21,7 +21,7 @@ import (
"github.com/algorand/go-algorand/data/basics"
)
-// SimpleKeyManager provides a simple implementation of a KeyManager.
+// SimpleKeyManager provides a simple implementation of a KeyManager for unit tests.
type SimpleKeyManager []account.Participation
// VotingKeys implements KeyManager.VotingKeys.
@@ -37,7 +37,8 @@ func (m SimpleKeyManager) VotingKeys(votingRound, _ basics.Round) []account.Part
// DeleteOldKeys implements KeyManager.DeleteOldKeys.
func (m SimpleKeyManager) DeleteOldKeys(r basics.Round) {
- // for _, acc := range m {
- // acc.DeleteOldKeys(r)
- // }
+}
+
+// Record implements KeyManager.Record.
+func (m SimpleKeyManager) Record(account basics.Address, round basics.Round, action account.ParticipationAction) {
}