mirror of
https://github.com/corda/corda.git
synced 2024-12-27 08:22:35 +00:00
Use system tmp dir instead of hardcoding unix path
This commit is contained in:
parent
b8538d5eb7
commit
8549a77a76
@ -44,7 +44,7 @@ class EnclaveletTest {
|
||||
val cashContract = MockContractAttachment(interpreter.services.cordappProvider.getContractAttachmentID(Cash.PROGRAM_ID)!!, Cash.PROGRAM_ID)
|
||||
val req = TransactionVerificationRequest(wtx3.serialize(), arrayOf(wtx1.serialize(), wtx2.serialize()), arrayOf(cashContract.serialize().bytes))
|
||||
val serialized = req.serialize()
|
||||
Files.write(Paths.get("/tmp/req"), serialized.bytes)
|
||||
Files.write(Paths.get(System.getProperty("java.io.tmpdir"), "req"), serialized.bytes)
|
||||
verifyInEnclave(serialized.bytes)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user