Load correct serialisation scheme when debugging Enclavelet. (#119)

This commit is contained in:
Chris Rankin 2017-11-22 08:39:34 +00:00 committed by GitHub
parent 4dbd404f64
commit 58c9e6ae9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ private fun deserialise(reqBytes: ByteArray): LedgerTransaction {
// Note: This is only here for debugging purposes
fun main(args: Array<String>) {
Log.TRACE()
Class.forName("com.r3.enclaves.txverify.KryoVerifierSerializationScheme")
Class.forName("com.r3.enclaves.txverify.EnclaveletSerializationScheme")
val reqBytes = File(args[0]).readBytes()
verifyInEnclave(reqBytes)
}