mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-15 17:02:06 +01:00
q cleanup targetUa check
This commit is contained in:
parent
20434ad9f6
commit
8dd5a65699
1 changed files with 3 additions and 5 deletions
|
@ -305,12 +305,10 @@ class Query(
|
||||||
// User ID to authenticate the User ID. But if the target has
|
// User ID to authenticate the User ID. But if the target has
|
||||||
// revoked it, then it can't be authenticated.
|
// revoked it, then it can't be authenticated.
|
||||||
val targetUa: RevocationState? = target.userIds[targetUserid]
|
val targetUa: RevocationState? = target.userIds[targetUserid]
|
||||||
targetUa?.let {
|
if (targetUa != null && targetUa.isEffective(network.referenceTime())) {
|
||||||
if (it.isEffective(network.referenceTime())) {
|
|
||||||
logger.debug("{}: Target user id is revoked at reference time.", targetFpr)
|
logger.debug("{}: Target user id is revoked at reference time.", targetFpr)
|
||||||
return hashMapOf()
|
return hashMapOf()
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Dijkstra.
|
// Dijkstra.
|
||||||
val bestNextNode: HashMap<Fingerprint, ForwardPointer> = HashMap()
|
val bestNextNode: HashMap<Fingerprint, ForwardPointer> = HashMap()
|
||||||
|
|
Loading…
Reference in a new issue