From 05b87ad32f30deebdbcb82e53362765a46bf8d0e Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Tue, 12 Mar 2019 17:53:33 +0800 Subject: core: touch tsigVerifier in blockchain module (#486) --- core/consensus.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core') diff --git a/core/consensus.go b/core/consensus.go index ccb3326..d2c6dc3 100644 --- a/core/consensus.go +++ b/core/consensus.go @@ -845,6 +845,10 @@ func (con *Consensus) initialRound( con.logger.Warn("Failed to update nodeSetCache", "round", round+1, "error", err) } + if _, _, err := con.bcModule.vGetter.UpdateAndGet(round + 1); err != nil { + con.logger.Warn("Failed to update tsigVerifierCache", + "round", round+1, "error", err) + } }() }) } -- cgit v1.2.3