diff --git a/manifest.toml b/manifest.toml index 2e81984a..423e2b9d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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"} diff --git a/tests/multi-hop-virtual-payment.go b/tests/multi-hop-virtual-payment.go index 3c79741b..28ff40d7 100644 --- a/tests/multi-hop-virtual-payment.go +++ b/tests/multi-hop-virtual-payment.go @@ -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))