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

View File

@@ -1505,8 +1505,10 @@ type LightningPayment struct {
// milli-satoshis. // milli-satoshis.
Amount lnwire.MilliSatoshi Amount lnwire.MilliSatoshi
// FeeLimit is a user-specified maximum fee for this payment in satoshis. // FeeLimit is the maximum fee in millisatoshis that the payment should
FeeLimit btcutil.Amount // 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 // PaymentHash is the r-hash value to use within the HTLC extended to
// the first hop. // the first hop.