From 38608b1b0fa3b975855f9b7e319214621ce8de37 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Thu, 21 Dec 2017 18:22:02 -0500 Subject: [PATCH] comment and tmlibs fix --- consensus/state.go | 3 ++- glide.lock | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/consensus/state.go b/consensus/state.go index 9c89ae4ed..67a1d8218 100644 --- a/consensus/state.go +++ b/consensus/state.go @@ -1338,7 +1338,8 @@ func (cs *ConsensusState) tryAddVote(vote *types.Vote, peerKey string) error { return err } else { - // Probably an invalid signature. Bad peer. + // Probably an invalid signature / Bad peer. + // Seems this can also err sometimes with "Unexpected step" - perhaps not from a bad peer ? cs.Logger.Error("Error attempting to add vote", "err", err) return ErrAddingVote } diff --git a/glide.lock b/glide.lock index b74ffd78c..c29eea4de 100644 --- a/glide.lock +++ b/glide.lock @@ -131,7 +131,7 @@ imports: subpackages: - iavl - name: github.com/tendermint/tmlibs - version: e2d7f1aa41dde5f29057dd08e64371a574b84c86 + version: e236218516289f91bde3273e99fe5c1fc20eb304 subpackages: - autofile - cli