mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Remove type property from transactions
This commit is contained in:
@ -311,7 +311,7 @@ public class FlowCookbookJava {
|
||||
progressTracker.setCurrentStep(TX_BUILDING);
|
||||
|
||||
// DOCSTART 19
|
||||
TransactionBuilder txBuilder = new TransactionBuilder(General.INSTANCE, specificNotary);
|
||||
TransactionBuilder txBuilder = new TransactionBuilder(specificNotary);
|
||||
// DOCEND 19
|
||||
|
||||
// We add items to the transaction builder using ``TransactionBuilder.withItems``:
|
||||
|
@ -292,7 +292,7 @@ object FlowCookbook {
|
||||
progressTracker.currentStep = TX_BUILDING
|
||||
|
||||
// DOCSTART 19
|
||||
val txBuilder: TransactionBuilder = TransactionBuilder(General, specificNotary)
|
||||
val txBuilder: TransactionBuilder = TransactionBuilder(specificNotary)
|
||||
// DOCEND 19
|
||||
|
||||
// We add items to the transaction builder using ``TransactionBuilder.withItems``:
|
||||
|
Reference in New Issue
Block a user