mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-18 08:38:46 +00:00
This commit is contained in:
parent
cbe25665db
commit
c97064173e
@ -228,6 +228,7 @@ func RemoveNonPreverifiedFiles(chainName, snapDir string) error {
|
|||||||
withoutExt := fname[0 : len(fname)-len(ext)]
|
withoutExt := fname[0 : len(fname)-len(ext)]
|
||||||
if _, ok := keep[withoutExt]; !ok {
|
if _, ok := keep[withoutExt]; !ok {
|
||||||
_ = os.Remove(f.Path)
|
_ = os.Remove(f.Path)
|
||||||
|
_ = os.Remove(f.Path + ".torrent")
|
||||||
} else {
|
} else {
|
||||||
if f.T == Transactions {
|
if f.T == Transactions {
|
||||||
idxPath := IdxFileName(f.From, f.To, Transactions2Block.String())
|
idxPath := IdxFileName(f.From, f.To, Transactions2Block.String())
|
||||||
|
Loading…
Reference in New Issue
Block a user