Load test: set min cash issue amount to 1

This commit is contained in:
Andrius Dagys 2017-04-03 10:00:26 +01:00
parent a2de90a6da
commit 026ac6884a

View File

@ -17,7 +17,7 @@ fun generateIssue(
notary: Party,
possibleRecipients: List<Party>
): Generator<CashFlowCommand.IssueCash> {
return generateAmount(0, max, Generator.pure(currency)).combine(
return generateAmount(1, max, Generator.pure(currency)).combine(
Generator.pure(OpaqueBytes.of(0)),
Generator.pickOne(possibleRecipients)
) { amount, ref, recipient ->