Skip to content

Commit

Permalink
swarm/pss: Fix flaky TestProxNetwork (ethereum#19471)
Browse files Browse the repository at this point in the history
  • Loading branch information
gluk256 authored and nonsense committed Apr 19, 2019
1 parent d8dc37c commit d940369
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 187 deletions.
2 changes: 1 addition & 1 deletion swarm/network/simulation/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ func (s *Simulation) UploadSnapshot(ctx context.Context, snapshotFile string, op
if err != nil {
return err
}
defer f.Close()

jsonbyte, err := ioutil.ReadAll(f)
f.Close()
if err != nil {
return err
}
Expand Down
Loading

0 comments on commit d940369

Please sign in to comment.