routing: denote a payment's fee limit in millisatoshis instead

This commit is contained in:
Wilmer Paulino 2018-04-19 10:26:41 -04:00
parent df6d75a054
commit 6a6de812ba
No known key found for this signature in database
GPG Key ID: 6DF57B9F9514972F

@ -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.