mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-22 17:31:34 +00:00
more review comments:
- consistently wrap error - add changelog entry
This commit is contained in:
@ -76,7 +76,7 @@ func NewValidatorStub(privValidator types.PrivValidator, valIndex int) *validato
|
||||
func (vs *validatorStub) signVote(voteType types.SignedMsgType, hash []byte, header types.PartSetHeader) (*types.Vote, error) {
|
||||
addr, err := vs.PrivValidator.GetAddress()
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "Error while retrieving private validator's address")
|
||||
return nil, errors.Wrap(err, "failed to get private validator's address")
|
||||
}
|
||||
vote := &types.Vote{
|
||||
ValidatorIndex: vs.Index,
|
||||
|
Reference in New Issue
Block a user