Skip to content

Commit

Permalink
Fix UTs
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu committed Sep 12, 2023
1 parent 8a8e0eb commit 408b817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion registration/registration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func TestRecoveringRoundInProgress(t *testing.T) {

roundCfg := server.RoundConfig{
EpochDuration: time.Hour,
PhaseShift: time.Second / 2,
PhaseShift: time.Second,
}

ctx, cancel := context.WithCancel(context.Background())
Expand Down
1 change: 1 addition & 0 deletions state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func Load(filename string, v any) error {
if err != nil {
return fmt.Errorf("loading file: %w", err)
}
defer f.Close()

_, err = xdr.Unmarshal(f, v)
if err != nil {
Expand Down

0 comments on commit 408b817

Please sign in to comment.