Skip to content
Snippets Groups Projects
Commit aab30ef3 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] #1016 Revocation document was cleaned on block reception

parent d19197f5
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,7 @@ function IdentityDAL(driver) { ...@@ -115,7 +115,7 @@ function IdentityDAL(driver) {
uid: "%" + search + "%" uid: "%" + search + "%"
}); });
this.trimExpiredIdentities = (medianTime) => this.exec('DELETE FROM ' + this.table + ' WHERE expires_on IS NULL OR expires_on < ' + medianTime); this.trimExpiredIdentities = (medianTime) => this.exec('DELETE FROM ' + this.table + ' WHERE (expires_on IS NULL AND revocation_sig IS NULL) OR expires_on < ' + medianTime);
/************************** /**************************
* SANDBOX STUFF * SANDBOX STUFF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment