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

This commit is contained in:
Wilmer Paulino committed 2018-06-12 18:14:47 -07:00
1 parent df6d75a054
commit 6a6de812ba
1 file changed
+4 -2
+4 -2
View File
@@ -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.