swarm/pss: Fix flaky TestProxNetwork (#19471)
This commit is contained in:
committed by
Anton Evangelatov
parent
d8dc37c85b
commit
d9403690ec
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user