-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inbound routing fees #2354
Inbound routing fees #2354
Changes from all commits
b6b0c99
bbe8842
7d48ef4
e029ec1
67d1cd9
f58468f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,6 +102,19 @@ export default class SetFees extends React.PureComponent<SetFeesProps, {}> { | |
feeRate={`${ | ||
Number(policy.fee_rate_milli_msat) / 10000 | ||
}`} | ||
baseFeeInbound={`${ | ||
policy.inbound_fee_base_msat | ||
? Number(policy.inbound_fee_base_msat) / | ||
1000 | ||
: undefined | ||
}`} | ||
feeRateInbound={`${ | ||
policy.inbound_fee_rate_milli_msat | ||
? Number( | ||
policy.inbound_fee_rate_milli_msat | ||
) / 10000 | ||
: undefined | ||
}`} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for these two, let's check to see if they exist or return There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. would it be better to return There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
timeLockDelta={policy.time_lock_delta.toString()} | ||
minHtlc={`${Number(policy.min_htlc) / 1000}`} | ||
maxHtlc={`${ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you're gonna go with this approach, be sure to update it in the LNC backend file as well - otherwise you can do something similar in the store
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did the changes!