Merge pull request #798 from filecoin-project/fix/worker-taux

Fix worker t_aux errors
This commit is contained in:
Łukasz Magiera 2019-12-08 23:07:06 +01:00 committed by GitHub
commit 3df30b1303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

2
extern/filecoin-ffi vendored

@ -1 +1 @@
Subproject commit fe188cfa1e082e4c41cadeb17a3a7c9e43ae6f03 Subproject commit 16a8b663ec61339d3d8736e85eddd3e4a1c190b7

View File

@ -38,6 +38,10 @@ func ExtractTar(body io.Reader, dir string) error {
if _, err := io.Copy(f, tr); err != nil { if _, err := io.Copy(f, tr); err != nil {
return err return err
} }
if err := f.Close(); err != nil {
return err
}
} }
} }