function to remove duplicates in IP table

This commit is contained in:
2021-04-16 20:35:51 +04:00
parent 4e22572c7b
commit 9ec1329af9
4 changed files with 49 additions and 35 deletions

View File

@@ -121,6 +121,11 @@ func UpdateIpTableListClient() error {
}
}
// Removing duplicates in the IP table
if err := p2p.RemoveDuplicates(); err != nil {
return err
}
return nil
}