comment
This commit is contained in:
parent
19bd5beb96
commit
9a7b0b657e
6
extern/sector-storage/stores/remote.go
vendored
6
extern/sector-storage/stores/remote.go
vendored
@ -406,6 +406,9 @@ func (r *Remote) Reader(ctx context.Context, s storage.SectorRef, offset, size a
|
||||
}
|
||||
}
|
||||
} else {
|
||||
//
|
||||
// magik(start): This part technically should live on the Local store
|
||||
//
|
||||
log.Infof("Read local %s (+%d,%d)", path, offset, size)
|
||||
ssize, err := s.ProofType.SectorSize()
|
||||
if err != nil {
|
||||
@ -431,6 +434,9 @@ func (r *Remote) Reader(ctx context.Context, s storage.SectorRef, offset, size a
|
||||
}
|
||||
|
||||
return pf.Reader(storiface.PaddedByteIndex(offset), size)
|
||||
//
|
||||
// magik(end)
|
||||
//
|
||||
}
|
||||
|
||||
// note: rd can be nil
|
||||
|
Loading…
Reference in New Issue
Block a user