Browse Source

Merge branch 'v0.35.x' into dependabot/go_modules/v0.35.x/github.com/spf13/cobra-1.4.0

pull/8107/head
M. J. Fromberger 3 years ago
committed by GitHub
parent
commit
9a89b52062
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      internal/consensus/common_test.go

+ 1
- 1
internal/consensus/common_test.go View File

@ -271,7 +271,7 @@ func signAddVotes(
} }
func validatePrevote(t *testing.T, cs *State, round int32, privVal *validatorStub, blockHash []byte) { func validatePrevote(t *testing.T, cs *State, round int32, privVal *validatorStub, blockHash []byte) {
prevotes := cs.Votes.Prevotes(round)
prevotes := cs.GetRoundState().Votes.Prevotes(round)
pubKey, err := privVal.GetPubKey(context.Background()) pubKey, err := privVal.GetPubKey(context.Background())
require.NoError(t, err) require.NoError(t, err)
address := pubKey.Address() address := pubKey.Address()


Loading…
Cancel
Save