mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-08 04:50:16 +00:00
Remove extraneous validator address assignment
Signed-off-by: Thane Thomson <connect@thanethomson.com>
This commit is contained in:
@@ -519,9 +519,10 @@ func TestMaxProposalBlockSize(t *testing.T) {
|
||||
state.ChainID = maxChainID
|
||||
|
||||
cs := types.CommitSig{
|
||||
BlockIDFlag: types.BlockIDFlagCommit,
|
||||
Timestamp: timestamp,
|
||||
Signature: crypto.CRandBytes(types.MaxSignatureSize),
|
||||
BlockIDFlag: types.BlockIDFlagCommit,
|
||||
ValidatorAddress: crypto.AddressHash([]byte("validator_address")),
|
||||
Timestamp: timestamp,
|
||||
Signature: crypto.CRandBytes(types.MaxSignatureSize),
|
||||
}
|
||||
|
||||
commit := &types.Commit{
|
||||
@@ -537,7 +538,6 @@ func TestMaxProposalBlockSize(t *testing.T) {
|
||||
votes[i] = &types.Vote{
|
||||
ValidatorAddress: valAddrs[i],
|
||||
}
|
||||
cs.ValidatorAddress = valAddrs[i]
|
||||
commit.Signatures = append(commit.Signatures, cs)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user