fix: remove return false
This commit is contained in:
parent
46b407bd9a
commit
f4b981f97f
|
@ -126,7 +126,7 @@ func (s S5ProviderStore) CanProvide(hash *encoding.Multihash, kind []types.Stora
|
|||
if upload.Completed {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
}
|
||||
if exists, _ := s.proto.portal.Storage().FileExists(rawHash); exists {
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue