From d67b1962a8a81e79126cce7e3e5bce6d99861147 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Thu, 21 Feb 2019 13:47:58 +0100 Subject: [PATCH] lnd_test: remove unkeyed field references --- lnd_test.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lnd_test.go b/lnd_test.go index 71747aae..a1f15d15 100644 --- a/lnd_test.go +++ b/lnd_test.go @@ -12715,7 +12715,9 @@ func testRouteFeeCutoff(net *lntest.NetworkHarness, t *harnessTest) { // 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. feeLimitPercent := &lnrpc.FeeLimit{ - Limit: &lnrpc.FeeLimit_Percent{baseFee/1000 - 1}, + Limit: &lnrpc.FeeLimit_Percent{ + Percent: baseFee/1000 - 1, + }, } 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 // use a smaller value in order to invalidate that route. feeLimitFixed := &lnrpc.FeeLimit{ - Limit: &lnrpc.FeeLimit_Fixed{int64(carolFee.ToSatoshis()) - 1}, + Limit: &lnrpc.FeeLimit_Fixed{ + Fixed: int64(carolFee.ToSatoshis()) - 1, + }, } testFeeCutoff(feeLimitFixed)