mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-28 10:00:21 +00:00
Update internal/consensus/state.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
This commit is contained in:
@@ -2376,9 +2376,9 @@ func (cs *State) addVote(
|
||||
return
|
||||
}
|
||||
|
||||
var addr []byte
|
||||
var myAddr []byte
|
||||
if cs.privValidatorPubKey != nil {
|
||||
addr = cs.privValidatorPubKey.Address()
|
||||
myAddr = cs.privValidatorPubKey.Address()
|
||||
}
|
||||
// Verify VoteExtension if precommit and not nil
|
||||
// https://github.com/tendermint/tendermint/issues/8487
|
||||
|
||||
Reference in New Issue
Block a user