Skip to content

Commit

Permalink
Simplify random nonce generation
Browse files Browse the repository at this point in the history
  • Loading branch information
kerzhner committed Mar 23, 2023
1 parent 1ef733a commit 9cc0378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/engine/chainservice/adjudicator/challenge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func runChallengeWithTurnNum(t *testing.T, turnNum uint64, pc preparedChain) {
}

// Use random nonces so we can run this test multiple times against the same chain
nonce := uint64(rand.Int63())
nonce := rand.Uint64()
var s = state.State{
Participants: []types.Address{
Actors.Alice.Address,
Expand Down

0 comments on commit 9cc0378

Please sign in to comment.