mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-20 06:06:15 +00:00
log if extension data present
This commit is contained in:
@@ -2403,6 +2403,9 @@ func (cs *State) addVote(
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if vote.Extension != nil || vote.ExtensionSignature != nil {
|
||||
cs.logger.Error("vote included extension data but vote extensions are not enabled", "peer", peerID)
|
||||
}
|
||||
// Vote extensions are not enabled on the network.
|
||||
// strip the extension data from the vote in case any is present.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user