Skip to content

Commit

Permalink
fix distribution test
Browse files Browse the repository at this point in the history
  • Loading branch information
insumity committed Mar 19, 2024
1 parent 5393f19 commit 03af237
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions x/ccv/provider/keeper/distribution_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,9 @@ func TestComputeConsumerTotalVotingPower(t *testing.T) {
keeper.SetConsumerValidator(
ctx,
chainID,
types.NewProviderConsAddress(val.Address.Bytes()),
)

validatorsVotes = append(
validatorsVotes,
abci.VoteInfo{
Validator: abci.Validator{
Address: val.Address,
Power: val.VotingPower,
},
types.ConsumerValidator{
ProviderConsAddr: val.Address,
Power: val.VotingPower,
},
)

Expand Down

0 comments on commit 03af237

Please sign in to comment.