routing+routerrpc: rename PaymentAttemptPenalty to AttemptCost
Make field names consistent with the command line flag.
This commit is contained in:
7 files changed
+23
-26
No files matched your search
@@ -65,8 +65,8 @@ func newIntegratedRoutingContext(t *testing.T) *integratedRoutingContext {
|
||||
},
|
||||
|
||||
pathFindingCfg: PathFindingConfig{
|
||||
PaymentAttemptPenalty: 1000,
|
||||
MinProbability: 0.01,
|
||||
AttemptCost: 1000,
|
||||
MinProbability: 0.01,
|
||||
},
|
||||
|
||||
source: source,
|
||||
|
||||
Reference in new issue
Block a user