com.r3corda.core.node.services.testing / MockTransactionStorage / addTransaction

addTransaction

open fun addTransaction(transaction: SignedTransaction): Unit
Overrides TransactionStorage.addTransaction

Add a new transaction to the store. If the store already has a transaction with the same id it will be overwritten.