mirror of
https://github.com/tendermint/tendermint.git
synced 2026-06-01 03:46:22 +00:00
type Ed25519[Signature|PubKey] struct{[]byte} -> []byte
This commit is contained in:
@@ -72,7 +72,7 @@ func TestVerifyInvalidVote(t *testing.T) {
|
||||
}
|
||||
for i := 0; i < 7; i++ {
|
||||
polVoteSig := signAddPOLVoteSignature(privValidators[i], valSet, voteProto, pol)
|
||||
polVoteSig.Signature.Bytes[0] += byte(0x01) // mutated!
|
||||
polVoteSig.Signature[0] += byte(0x01) // mutated!
|
||||
}
|
||||
|
||||
// Check that validation fails.
|
||||
@@ -119,7 +119,7 @@ func TestVerifyInvalidCommits(t *testing.T) {
|
||||
}
|
||||
for i := 0; i < 7; i++ {
|
||||
polVoteSig := signAddPOLVoteSignature(privValidators[i], valSet, voteProto, pol)
|
||||
polVoteSig.Signature.Bytes[0] += byte(0x01)
|
||||
polVoteSig.Signature[0] += byte(0x01)
|
||||
}
|
||||
|
||||
// Check that validation fails.
|
||||
|
||||
Reference in New Issue
Block a user