Merge pull request #6342

82da832 rpc: Add check for too old timestamps in payment signatures. (glv2)
pull/241/head
luigi1111 4 years ago
commit ad5200e440
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -102,6 +102,11 @@ namespace cryptonote
MDEBUG("Timestamp is in the future");
return false;
}
if (ts < now - TIMESTAMP_LEEWAY)
{
MDEBUG("Timestamp is too old");
return false;
}
return true;
}
}

Loading…
Cancel
Save