aboutsummaryrefslogtreecommitdiffstats
path: root/core/dkg-tsig-protocol.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-04-02 17:07:05 +0800
committerGitHub <noreply@github.com>2019-04-02 17:07:05 +0800
commit0382bbafbee5ffb820b9d31f7cfe8f6a48968a48 (patch)
tree3140508a5528d73e4cf4cca145800dfa3ba7ed7a /core/dkg-tsig-protocol.go
parent35f3fe0b857e8006de345505d7fc09c0b7c10326 (diff)
downloaddexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.tar
dexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.tar.gz
dexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.tar.bz2
dexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.tar.lz
dexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.tar.xz
dexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.tar.zst
dexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.zip
core: optimize message handle (#542)
* core: optimize for handling agremenet result * core: disable clone vote * core: touch npks
Diffstat (limited to 'core/dkg-tsig-protocol.go')
-rw-r--r--core/dkg-tsig-protocol.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dkg-tsig-protocol.go b/core/dkg-tsig-protocol.go
index 9a71bea..e4ae14c 100644
--- a/core/dkg-tsig-protocol.go
+++ b/core/dkg-tsig-protocol.go
@@ -555,7 +555,7 @@ func (tc *TSigVerifierCache) UpdateAndGet(round uint64) (
return v, ok, nil
}
-// Purge the cache and returns if success.
+// Purge the cache.
func (tc *TSigVerifierCache) Purge(round uint64) {
tc.lock.Lock()
defer tc.lock.Unlock()