Skip to content

Commit

Permalink
rename to numOfIntermediaries
Browse files Browse the repository at this point in the history
  • Loading branch information
lalexgap committed Oct 11, 2022
1 parent 9169827 commit 2275d89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ isCI = {type = "bool", default = false, desc = "Whether this test is being run a
isNightly = {type = "bool", default = false, desc = "Whether this test is being run as part of the nightly test suite"}
networkJitter = {type = "int", unit = "milliseconds", default = 0}
networkLatency = {type = "int", unit = "milliseconds", default = 0}
numOfHops = {type = "int", default = 2, desc = "The number of hops in the multi-hop payment"}
numOfHubs = {type = "int", default = 3, desc = "The number of instances that should play the role of the hub"}
numOfIntermediaries = {type = "int", default = 2, desc = "The number of intermediaries(hops) to use in the virtual payment channel"}
numOfPayeePayers = {type = "int", default = 0, desc = "The number of instances that should play the role of the payeepayer"}
numOfPayees = {type = "int", default = 4, desc = "The number of instances that should play the role of the payee"}
numOfPayers = {type = "int", default = 1, desc = "The number of instances that should play the role of the payer"}
Expand Down
2 changes: 1 addition & 1 deletion tests/multi-hop-virtual-payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func CreateMultiHopVirtualPaymentTest(runEnv *runtime.RunEnv, init *run.InitCont
payees = append(payees, peer.FilterByRole(peers, peer.PayerPayee)...)

createVirtualPaymentsJob := func() {
numHops := runEnv.IntParam("numOfHops")
numHops := runEnv.IntParam("numOfIntermediaries")

selectedHubs := utils.SelectRandomHubs(hubs, numHops)
runEnv.RecordMessage("%s: Selected hubs %s", me.Address, utils.AbbreviateSlice(selectedHubs))
Expand Down

0 comments on commit 2275d89

Please sign in to comment.