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

add funding address param to FundNode query #198

Merged
merged 2 commits into from
Aug 15, 2024

Conversation

matthappens
Copy link
Contributor

@matthappens matthappens commented Aug 15, 2024

Add funding address to FundNode query

add optional string funding address

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @matthappens and the rest of your teammates on Graphite Graphite

@matthappens matthappens marked this pull request as ready for review August 15, 2024 18:18
suspend fun fundNode(
nodeId: String,
amountSats: Long?,
fundingAddress: String?
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should probably default this to null here and elsewhere.

@@ -729,16 +729,22 @@ class LightsparkCoroutinesClient private constructor(
*
* @param nodeId The ID of the node to fund. Must be a REGTEST node.
* @param amountSats The amount of funds to add to the node. Defaults to 10,000,000 SATOSHI.
* @param fundingAddress: L1 address owned by funded node
Copy link
Collaborator

Choose a reason for hiding this comment

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

Also maybe good to say what null means in this context (that it automatically creates a new funding address).

@matthappens matthappens merged commit 9b02e94 into develop Aug 15, 2024
3 checks passed
@matthappens matthappens deleted the mdavis/fund-node-funding-adderss-mutation branch August 15, 2024 22:18
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.

2 participants