mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-04 07:07:13 +00:00
Update internal/consensus/state.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
This commit is contained in:
co-authored by
M. J. Fromberger
parent
d3c9ab64b5
commit
cb2f3624da
@@ -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