Skip to content

Commit

Permalink
Merge pull request #294 from vegaprotocol/293-fix-lp-user-count
Browse files Browse the repository at this point in the history
LP user count used in lp creation
  • Loading branch information
jeremyletang authored Jul 18, 2023
2 parents f46bacb + 96f62f0 commit 0168d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perftest/perftest.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (p *perfLoadTesting) proposeAndEnactMarket(opts Opts) ([]string, error) {
marketIds = append(marketIds, market.Id)
if market.State != proto.Market_STATE_ACTIVE {
// Send in a liquidity provision so we can get the market out of auction
for j := 0; j < opts.Voters; j++ {
for j := 0; j < opts.LpUserCount; j++ {
p.wallet.SendLiquidityProvision(p.users[j], market.Id, opts.LPOrdersPerSide)
}
p.wallet.SendOrder(p.users[0], &commandspb.OrderSubmission{MarketId: market.Id,
Expand Down

0 comments on commit 0168d9f

Please sign in to comment.