diff --git a/leopard.go b/leopard.go index 098c1b3..2ae1b5b 100644 --- a/leopard.go +++ b/leopard.go @@ -442,7 +442,7 @@ func (r *leopardFF16) reconstruct(shards [][]byte, recoverAll bool, required []b } } for i := 0; i < r.dataShards; i++ { - if len(shards[i]) == 0 && (recoverAll || (required != nil && required[i])) { + if len(shards[i]) == 0 /*&& (recoverAll || (required != nil && required[i]))*/ { errLocs[i+m] = 1 if LEO_ERROR_BITFIELD_OPT { errorBits.set(i + m) diff --git a/leopard8.go b/leopard8.go index 0efb3bf..9f2f5e0 100644 --- a/leopard8.go +++ b/leopard8.go @@ -479,7 +479,7 @@ func (r *leopardFF8) reconstruct(shards [][]byte, recoverAll bool, required []bo } } for i := 0; i < r.dataShards; i++ { - if len(shards[i]) == 0 && (recoverAll || (required != nil && required[i])) { + if len(shards[i]) == 0 /*&& (recoverAll || (required != nil && required[i]))*/ { errLocs[i+m] = 1 if LEO_ERROR_BITFIELD_OPT { errorBits.set(i + m)