mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-05 18:31:37 +01:00
routing: denote a payment's fee limit in millisatoshis instead
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user