don't verify signature twice

This commit is contained in:
orignal 2018-01-25 10:32:08 -05:00
parent b1c701085b
commit 7db2e9dc4a
3 changed files with 4 additions and 4 deletions

View file

@ -242,7 +242,7 @@ namespace data
{
if(it->second->GetExpirationTime() < expires)
{
it->second->Update (buf, len);
it->second->Update (buf, len, false); // signature is verified already
LogPrint (eLogInfo, "NetDb: LeaseSet updated: ", ident.ToBase32());
updated = true;
}