mirror of
https://github.com/corda/corda.git
synced 2025-02-21 09:51:57 +00:00
Load test: set min cash issue amount to 1
This commit is contained in:
parent
a2de90a6da
commit
026ac6884a
@ -17,7 +17,7 @@ fun generateIssue(
|
|||||||
notary: Party,
|
notary: Party,
|
||||||
possibleRecipients: List<Party>
|
possibleRecipients: List<Party>
|
||||||
): Generator<CashFlowCommand.IssueCash> {
|
): 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.pure(OpaqueBytes.of(0)),
|
||||||
Generator.pickOne(possibleRecipients)
|
Generator.pickOne(possibleRecipients)
|
||||||
) { amount, ref, recipient ->
|
) { amount, ref, recipient ->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user