-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Adds helper function lnrpc.RPCTransaction to create a single lnrpc.Transaction and refactors lnrpc.RPCTransactionDetails #5854
Adds helper function lnrpc.RPCTransaction to create a single lnrpc.Transaction and refactors lnrpc.RPCTransactionDetails #5854
Conversation
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 fix!
LGTM, just two nits 🎉
b894eab
to
4ff2b07
Compare
Thanks @guggero for your quick review! I have addresses your points! |
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, thanks for the fix!
Can you please add this to the 0.14.2 release notes, so we can get this merged? Thanks. |
4ff2b07
to
d8b8182
Compare
Thanks! I have rebased and added release notes to 0.14.2 |
@bjarnemagnussen can you rebase again? The UI shows there's a merge conflict, but then doesn't actually say what it is.... |
d8b8182
to
46c268e
Compare
Done! Let me know if is still causing some issues |
Description
Currently inside
SubscribeTransactions
the streamedlnrpc.Transaction
structure does not get itsLabel
field populated, which seems to be an oversight.This PR adds a helper function
lnrpc.RPCTransaction
to return a singlelnrpc.Transaction
and refactors the helper functionlnrpc.RPCTransactionDetails
. This is alos used insideSubscribeTransactions
to make sure theLabel
field is correctly populated and have the creation of a RPC Transaction in one place.Fixes #5853