Skip to content

Expose inner field of LSPSDateTime constructor #3781

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

Merged
merged 1 commit into from
May 16, 2025

Conversation

tnull
Copy link
Contributor

@tnull tnull commented May 16, 2025

We require users to construct an LSPSDateTime and give it back to us (e.g., in LSPS2 OpeningFeeParameters), but currently only offer construction via FromStr. Here, we simply expose the wrapped DateTime field, allowing users to construct an LSPSDateTime.

We require users to construct an `LSPSDateTime` and give it back to us
(e.g., in LSPS2 OpeningFeeParameters), but currently only offer
construction via `FromStr`. Here, we simply expose the wrapped
`DateTime` field, allowing users to construct an `LSPSDateTime`.
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented May 16, 2025

👋 Thanks for assigning @TheBlueMatt as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tnull tnull requested a review from TheBlueMatt May 16, 2025 14:07
Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

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

Sure, I guess

@ldk-reviews-bot
Copy link

👋 The first review has been submitted!

Do you think this PR is ready for a second reviewer? If so, click here to assign a second reviewer.

@TheBlueMatt TheBlueMatt merged commit 9f57b21 into lightningdevkit:main May 16, 2025
27 of 28 checks passed
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.

3 participants