Skip to content
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

feat:added LND connect URL for REST API #484

Merged
merged 4 commits into from
Aug 31, 2021
Merged

Conversation

NehaK745
Copy link
Contributor

Closes #478

Description

added URL for REST API

Steps to Test

Screenshots

Polar 17-08-2021 05_33_11 PM (2)

Copy link
Owner

@jamaljsr jamaljsr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, I just requested a very minor change. Otherwise, great job!

values[l('invoiceUrl')] = encode({ host, cert, macaroon: invoiceMac });
values[l('readOnlyUrl')] = encode({ host, cert, macaroon: readonlyMac });

values[l('GRPCadminUrl')] = encode({ host, cert, macaroon: adminMac });
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small nitpick, can you change these keys to camel case. ex: grpcAdminUrl, restInvoiceUrl, etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok I will do that

Copy link
Owner

@jamaljsr jamaljsr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov-commenter
Copy link

codecov-commenter commented Aug 30, 2021

Codecov Report

Merging #484 (0a63e9e) into master (e6cb1b1) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #484   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          113       113           
  Lines         3267      3271    +4     
  Branches       572       572           
=========================================
+ Hits          3267      3271    +4     
Impacted Files Coverage Δ
...mponents/designer/lightning/connect/LndConnect.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e6cb1b1...0a63e9e. Read the comment docs.

@jamaljsr jamaljsr merged commit 9f68059 into jamaljsr:master Aug 31, 2021
@NehaK745 NehaK745 deleted the iss-478 branch August 31, 2021 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: add LND connect URL for REST API.
4 participants