mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 04:41:22 +00:00
rename privval#GetAddress and GetPubKey to Address and PubKey
This commit is contained in:
@ -89,13 +89,13 @@ func TestABCIEvidence(t *testing.T) {
|
||||
blockID2 := makeBlockID("blockhash2", 1000, "partshash")
|
||||
const chainID = "mychain"
|
||||
ev := &DuplicateVoteEvidence{
|
||||
PubKey: val.GetPubKey(),
|
||||
PubKey: val.PubKey(),
|
||||
VoteA: makeVote(val, chainID, 0, 10, 2, 1, blockID),
|
||||
VoteB: makeVote(val, chainID, 0, 10, 2, 1, blockID2),
|
||||
}
|
||||
abciEv := TM2PB.Evidence(
|
||||
ev,
|
||||
NewValidatorSet([]*Validator{NewValidator(val.GetPubKey(), 10)}),
|
||||
NewValidatorSet([]*Validator{NewValidator(val.PubKey(), 10)}),
|
||||
time.Now(),
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user