Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Mar 10, 2021
1 parent ea4a54e commit ca3d226
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions storage/wdpost_changehandler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ func TestChangeHandlerStartProvingNextDeadline(t *testing.T) {

// Trigger a head change
currentEpoch := abi.ChainEpoch(1)
go triggerHeadAdvance(t, s, currentEpoch + ChallengeConfidence)
go triggerHeadAdvance(t, s, currentEpoch+ChallengeConfidence)

// Should start proving
<-s.ch.proveHdlr.processedHeadChanges
Expand All @@ -405,7 +405,7 @@ func TestChangeHandlerStartProvingNextDeadline(t *testing.T) {
// Trigger a head change that advances the chain beyond the submit
// confidence
currentEpoch = 1 + SubmitConfidence
go triggerHeadAdvance(t, s, currentEpoch + ChallengeConfidence)
go triggerHeadAdvance(t, s, currentEpoch+ChallengeConfidence)

// Should be no change to state yet
<-s.ch.proveHdlr.processedHeadChanges
Expand Down Expand Up @@ -446,7 +446,7 @@ func TestChangeHandlerProvingRounds(t *testing.T) {
for currentEpoch := abi.ChainEpoch(1); currentEpoch < miner.WPoStChallengeWindow*5; currentEpoch++ {
// Trigger a head change
di := mock.getDeadline(currentEpoch)
go triggerHeadAdvance(t, s, currentEpoch + ChallengeConfidence)
go triggerHeadAdvance(t, s, currentEpoch+ChallengeConfidence)

// Wait for prover to process head change
<-s.ch.proveHdlr.processedHeadChanges
Expand Down

0 comments on commit ca3d226

Please sign in to comment.