mirror of
https://github.com/corda/corda.git
synced 2025-01-24 21:37:05 +00:00
dad59d116c
Currently the serialised forms and the form fed into the contract aren't quite joined up, because on disk/network a transaction is serialised with input references i.e. (txhash, output index) pairs, but the contract wants to see all input states in fully loaded form. To do that, we need some notion of a database of transactions.
8 lines
211 B
Kotlin
8 lines
211 B
Kotlin
package testutils
|
|
|
|
import java.security.KeyPairGenerator
|
|
|
|
object TestUtils {
|
|
val keypair = KeyPairGenerator.getInstance("EC").genKeyPair()
|
|
val keypair2 = KeyPairGenerator.getInstance("EC").genKeyPair()
|
|
} |