mirror of
https://github.com/corda/corda.git
synced 2025-02-04 18:22:29 +00:00
Fix nullable type
This commit is contained in:
parent
4ed5457818
commit
fc2b9d0cab
@ -126,7 +126,7 @@ abstract class CordaEnclaveClient(val x500: CordaX500Name, val serviceHub: Servi
|
||||
abstract fun decryptInputAndRefsForNode(encryptedTransaction: EncryptedTransaction): Pair<Array<StateAndRef<ContractState>>, Array<StateAndRef<ContractState>>>
|
||||
}
|
||||
|
||||
class DummyCordaEnclaveClient(x500: CordaX500Name, serviceHub: ServiceHub?): CordaEnclaveClient(x500, serviceHub) {
|
||||
class DummyCordaEnclaveClient(x500: CordaX500Name, serviceHub: ServiceHub? = null): CordaEnclaveClient(x500, serviceHub) {
|
||||
|
||||
override fun getEnclaveInstanceInfo(): ByteArray {
|
||||
throw UnsupportedOperationException("Add your custom enclave client implementation")
|
||||
|
Loading…
x
Reference in New Issue
Block a user