routing+routerrpc: rename PaymentAttemptPenalty to AttemptCost

Make field names consistent with the command line flag.
This commit is contained in:
Joost Jager
2020-09-08 13:07:35 +02:00
parent 751b02361e
commit 17a6175e8b
7 changed files with 23 additions and 26 deletions

View File

@@ -79,8 +79,8 @@ func createTestCtxFromGraphInstance(startingHeight uint32, graphInstance *testGr
chainView := newMockChainView(chain)
pathFindingConfig := PathFindingConfig{
MinProbability: 0.01,
PaymentAttemptPenalty: 100,
MinProbability: 0.01,
AttemptCost: 100,
}
mcConfig := &MissionControlConfig{