Skip to content

Conversation

@kaloudis
Copy link
Contributor

@kaloudis kaloudis commented Aug 11, 2022

React Native PR: lightninglabs/lnc-rn#2

TODO

  • fix GitHub workflow

@ellemouton ellemouton self-requested a review August 16, 2022 16:28
@kaloudis kaloudis force-pushed the lnc-mobile branch 9 times, most recently from 2ae7349 to 91cd936 Compare August 25, 2022 02:25
@kaloudis kaloudis force-pushed the lnc-mobile branch 2 times, most recently from e2d993f to 8520d1c Compare September 19, 2022 21:18
@kaloudis kaloudis changed the title WIP: LNC Mobile LNC Mobile Sep 19, 2022
@kaloudis kaloudis marked this pull request as ready for review September 19, 2022 21:19
@kaloudis kaloudis force-pushed the lnc-mobile branch 7 times, most recently from 5e47fc1 to 677faaa Compare September 20, 2022 00:10
Copy link
Contributor

@guggero guggero left a 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.

@kaloudis kaloudis force-pushed the lnc-mobile branch 2 times, most recently from f9b1a66 to 835d315 Compare October 3, 2022 22:57
@kaloudis kaloudis requested a review from guggero October 4, 2022 03:01
@kaloudis kaloudis force-pushed the lnc-mobile branch 3 times, most recently from 2bb74df to 028fec4 Compare October 25, 2022 04:49
@kaloudis kaloudis force-pushed the lnc-mobile branch 3 times, most recently from aa762da to 1acfdb0 Compare October 27, 2022 14:06
@kaloudis kaloudis force-pushed the lnc-mobile branch 4 times, most recently from 602342d to 0ef6a51 Compare October 27, 2022 21:01
Copy link
Member

@ellemouton ellemouton left a 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)
Copy link
Member

Choose a reason for hiding this comment

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

nit: wrap at 80

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this one's 73

Copy link
Contributor

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
Comment on lines 385 to 395
return "", fmt.Errorf("macaroon not obtained yet. GetExpiry should " +
"only be called once the connection is complete")
}
Copy link
Member

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
},
)

Copy link
Member

Choose a reason for hiding this comment

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

nit: remove new line

Copy link
Contributor

@guggero guggero left a 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.

@kaloudis kaloudis force-pushed the lnc-mobile branch 3 times, most recently from 0b6eb65 to 4ef1b70 Compare October 28, 2022 15:49
Copy link
Member

@ellemouton ellemouton left a comment

Choose a reason for hiding this comment

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

lgtm! 🎉

@guggero guggero merged commit b66c421 into master Oct 31, 2022
@guggero guggero deleted the lnc-mobile branch October 31, 2022 07:34
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.

5 participants