diff --git a/node/node_test.go b/node/node_test.go index 007d8d6f4..c059eee4a 100644 --- a/node/node_test.go +++ b/node/node_test.go @@ -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) }