-
Notifications
You must be signed in to change notification settings - Fork 21
LNC Mobile #52
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
LNC Mobile #52
Conversation
2ae7349 to
91cd936
Compare
91cd936 to
af02f7c
Compare
e2d993f to
8520d1c
Compare
5e47fc1 to
677faaa
Compare
guggero
left a comment
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.
Nice work, seems to be pretty straightforward!
Ran into a couple of things, most of them probably easy to fix.
f9b1a66 to
835d315
Compare
2bb74df to
028fec4
Compare
aa762da to
1acfdb0
Compare
602342d to
0ef6a51
Compare
ellemouton
left a comment
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.
Thanks for the fast turn around on review here @kaloudis! Almost there - just a few nits to address and then we are g2g 🚀
mobile/mobile.go
Outdated
| } | ||
|
|
||
| go func() { | ||
| log.Infof("Calling '%s' on RPC with request %s", rpcName, requestJSON) |
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.
nit: wrap at 80
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.
this one's 73
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.
You need to set your IDE to use 8 spaces for each tab character. Same for the comment below.
mobile/mobile.go
Outdated
| return "", fmt.Errorf("macaroon not obtained yet. GetExpiry should " + | ||
| "only be called once the connection is complete") | ||
| } |
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.
nit: wrap at 80
mobile/mobile.go
Outdated
| return nil | ||
| }, | ||
| ) | ||
|
|
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.
nit: remove new line
guggero
left a comment
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.
LGTM, pending @ellemouton's comments.
0b6eb65 to
4ef1b70
Compare
ellemouton
left a comment
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.
lgtm! 🎉
React Native PR: lightninglabs/lnc-rn#2
TODO