Merge pull request #2679 from joostjager/itest-unkeyed
lnd_test: remove unkeyed field references
This commit is contained in:
commit
4de9ffdf7b
@ -12715,7 +12715,9 @@ func testRouteFeeCutoff(net *lntest.NetworkHarness, t *harnessTest) {
|
|||||||
// route using Carol as an intermediate hop is 10% of the payment's
|
// route using Carol as an intermediate hop is 10% of the payment's
|
||||||
// amount, we'll use a lower percentage in order to invalid that route.
|
// amount, we'll use a lower percentage in order to invalid that route.
|
||||||
feeLimitPercent := &lnrpc.FeeLimit{
|
feeLimitPercent := &lnrpc.FeeLimit{
|
||||||
Limit: &lnrpc.FeeLimit_Percent{baseFee/1000 - 1},
|
Limit: &lnrpc.FeeLimit_Percent{
|
||||||
|
Percent: baseFee/1000 - 1,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
testFeeCutoff(feeLimitPercent)
|
testFeeCutoff(feeLimitPercent)
|
||||||
|
|
||||||
@ -12723,7 +12725,9 @@ func testRouteFeeCutoff(net *lntest.NetworkHarness, t *harnessTest) {
|
|||||||
// fee for the route using Carol as an intermediate hop earlier, we can
|
// fee for the route using Carol as an intermediate hop earlier, we can
|
||||||
// use a smaller value in order to invalidate that route.
|
// use a smaller value in order to invalidate that route.
|
||||||
feeLimitFixed := &lnrpc.FeeLimit{
|
feeLimitFixed := &lnrpc.FeeLimit{
|
||||||
Limit: &lnrpc.FeeLimit_Fixed{int64(carolFee.ToSatoshis()) - 1},
|
Limit: &lnrpc.FeeLimit_Fixed{
|
||||||
|
Fixed: int64(carolFee.ToSatoshis()) - 1,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
testFeeCutoff(feeLimitFixed)
|
testFeeCutoff(feeLimitFixed)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user