Skip to content

Commit

Permalink
test: add last voted to test
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Nov 12, 2024
1 parent b5cb153 commit 159688b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/accounts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func Test_AccountsFromState(t *testing.T) {

effectiveFirstValid := 0
effectiveLastValid := 10000

lastProposedRound := 1336
// Create mockedPart Keys
var mockedPartKeys = []api.ParticipationKey{
{
Expand All @@ -83,7 +83,7 @@ func Test_AccountsFromState(t *testing.T) {
VoteLastValid: 9999999,
VoteKeyDilution: 0,
},
LastBlockProposal: nil,
LastBlockProposal: &lastProposedRound,
LastStateProof: nil,
LastVote: nil,
},
Expand Down Expand Up @@ -117,7 +117,7 @@ func Test_AccountsFromState(t *testing.T) {
VoteLastValid: 9999999,
VoteKeyDilution: 0,
},
LastBlockProposal: nil,
LastBlockProposal: &lastProposedRound,
LastStateProof: nil,
LastVote: nil,
},
Expand Down

0 comments on commit 159688b

Please sign in to comment.