routing: denote a payment's fee limit in millisatoshis instead
This commit is contained in:
1 file changed
+4
-2
+4
-2
@@ -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