lncli: add missing wallet psbt sign sub command#10659
lncli: add missing wallet psbt sign sub command#10659guggero wants to merge 3 commits intolightningnetwork:masterfrom
wallet psbt sign sub command#10659Conversation
Adds a new sub command `lncli wallet psbt sign` to `lncli` that calls the wallet RPC's `SignPsbt` method.
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a new Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
| Action: actionDecorator(signPsbt), | ||
| } | ||
|
|
||
| func signPsbt(ctx *cli.Context) error { |
There was a problem hiding this comment.
According to the repository style guide (lines 17, 18), every function must have a comment that starts with the function name. The signPsbt function is missing this documentation.
| func signPsbt(ctx *cli.Context) error { | |
| // signPsbt handles the `lncli wallet psbt sign` command. | |
| func signPsbt(ctx *cli.Context) error { |
| * The `walletrpc.SignPsbt` now has a [corresponding `lncli wallet psbt sign` | ||
| command, and can be used to sign a | ||
| PSBT](https://github.com/lightningnetwork/lnd/pull/10659). |
There was a problem hiding this comment.
This release note entry can be rephrased for better readability. The current formatting with line breaks inside the link text is a bit awkward.
| * The `walletrpc.SignPsbt` now has a [corresponding `lncli wallet psbt sign` | |
| command, and can be used to sign a | |
| PSBT](https://github.com/lightningnetwork/lnd/pull/10659). | |
| * The `walletrpc.SignPsbt` RPC call now has a corresponding [`lncli wallet psbt sign`](https://github.com/lightningnetwork/lnd/pull/10659) command to sign a PSBT. |
Change Description
The
walletrpc.SignPsbtdidn't have a correspondinglnclicommand, which this PR now fixes.Steps to Test
Pull Request Checklist
Testing
Code Style and Documentation
[skip ci]in the commit message for small changes.📝 Please see our Contribution Guidelines for further guidance.