mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Remove grouping from FungibleAsset (Issue and Move) (#1185)
Clean-up FungibleAsset - remove Command grouping and get rid of IssueCommand as no nonce is required anymore.
This commit is contained in:
committed by
GitHub
parent
b33e299e3a
commit
1a4d908b63
@ -280,7 +280,7 @@ public class FlowCookbookJava {
|
||||
TypeOnlyCommandData typeOnlyCommandData = new DummyContract.Commands.Create();
|
||||
// 2. Include additional data which can be used by the contract
|
||||
// during verification, alongside fulfilling the roles above
|
||||
CommandData commandDataWithData = new Cash.Commands.Issue(12345678);
|
||||
CommandData commandDataWithData = new Cash.Commands.Issue();
|
||||
|
||||
// Attachments are identified by their hash.
|
||||
// The attachment with the corresponding hash must have been
|
||||
|
@ -262,8 +262,8 @@ object FlowCookbook {
|
||||
// fork the contract's verification logic.
|
||||
val typeOnlyCommandData: TypeOnlyCommandData = DummyContract.Commands.Create()
|
||||
// 2. Include additional data which can be used by the contract
|
||||
// during verification, alongside fulfilling the roles above
|
||||
val commandDataWithData: CommandData = Cash.Commands.Issue(nonce = 12345678)
|
||||
// during verification, alongside fulfilling the roles above.
|
||||
val commandDataWithData: CommandData = Cash.Commands.Issue()
|
||||
|
||||
// Attachments are identified by their hash.
|
||||
// The attachment with the corresponding hash must have been
|
||||
|
Reference in New Issue
Block a user