mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00:00
parent
4cc1b7f42c
commit
32e12abb43
@ -469,8 +469,8 @@ func (t readWriteTransaction) putFile(key []byte, fi protocol.FileInfo) error {
|
||||
return err
|
||||
}
|
||||
} else if fi.BlocksHash != nil {
|
||||
l.Warnln("Blocks is nil, but BlocksHash is not for file", fi)
|
||||
panic("Blocks is nil, but BlocksHash is not")
|
||||
l.Debugln("Blocks is nil, but BlocksHash is not for file", fi)
|
||||
fi.BlocksHash = nil
|
||||
}
|
||||
|
||||
fi.Blocks = nil
|
||||
|
Loading…
Reference in New Issue
Block a user