mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
Revert to correct spacing.
This commit is contained in:
parent
15ffc85712
commit
3e8132b687
@ -145,7 +145,7 @@ class PersistentCertificateRequestStorage(private val database: CordaPersistence
|
|||||||
// Also, at the moment we assume that once the CSR is approved it cannot be rejected.
|
// Also, at the moment we assume that once the CSR is approved it cannot be rejected.
|
||||||
// What if we approved something by mistake.
|
// What if we approved something by mistake.
|
||||||
val duplicates = session.createQuery(query).resultList.filter {
|
val duplicates = session.createQuery(query).resultList.filter {
|
||||||
it.status !=RequestStatus.REJECTED
|
it.status != RequestStatus.REJECTED
|
||||||
}
|
}
|
||||||
|
|
||||||
return Pair(legalName, if (duplicates.isEmpty()) null else "Duplicate legal name")
|
return Pair(legalName, if (duplicates.isEmpty()) null else "Duplicate legal name")
|
||||||
|
Loading…
Reference in New Issue
Block a user