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:
Konstantinos Chalkias
2017-08-21 16:14:04 +01:00
committed by GitHub
parent b33e299e3a
commit 1a4d908b63
14 changed files with 64 additions and 113 deletions

View File

@ -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

View File

@ -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