From 6a6de812ba945ac849e820ef11b69343af98d58e Mon Sep 17 00:00:00 2001 From: Wilmer Paulino Date: Thu, 19 Apr 2018 10:26:41 -0400 Subject: [PATCH] routing: denote a payment's fee limit in millisatoshis instead --- routing/router.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/routing/router.go b/routing/router.go index 57ae4350f..eef768b60 100644 --- a/routing/router.go +++ b/routing/router.go @@ -1505,8 +1505,10 @@ type LightningPayment struct { // milli-satoshis. Amount lnwire.MilliSatoshi - // FeeLimit is a user-specified maximum fee for this payment in satoshis. - FeeLimit btcutil.Amount + // FeeLimit is the maximum fee in millisatoshis that the payment should + // accept when sending it through the network. The payment will fail + // if there isn't a route with lower fees than this limit. + FeeLimit lnwire.MilliSatoshi // PaymentHash is the r-hash value to use within the HTLC extended to // the first hop.