hardcode the client class

This commit is contained in:
stefano 2022-03-29 08:49:39 +00:00
parent a37486c6d7
commit e9803903c7

View File

@ -1064,8 +1064,6 @@ abstract class AbstractNode<S>(val configuration: NodeConfiguration,
}catch(e: Exception) { }catch(e: Exception) {
null null
} }
return clazz?.let { return clazz?.let {
EncryptedTransactionService(Class.forName(it).getDeclaredConstructor(CordaX500Name::class.java).newInstance(configuration.myLegalName) as CordaEnclaveClient) EncryptedTransactionService(Class.forName(it).getDeclaredConstructor(CordaX500Name::class.java).newInstance(configuration.myLegalName) as CordaEnclaveClient)
} ?: run { } ?: run {