Skip to content

Conversation

@guggero
Copy link
Contributor

@guggero guggero commented Jul 29, 2024

Fixes #805.

When lnd isn't marked as fully ready yet, we didn't allow any REST methods through. But to allow creating a wallet through REST, we also need to allow these methods.

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.

Noice 🙏

@guggero
Copy link
Contributor Author

guggero commented Jul 29, 2024

I keep forgetting that we now also have file based release notes in litd. Added a new file.

Copy link
Contributor

@ViktorT-11 ViktorT-11 left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for the fix 🙏! LGTM 🚀

// set up, we need to override the isReady check for this specific
// URI as soon as LND can accept the call, i.e. when the lnd sub-server
// is in the "Wallet Ready" state.
lndOverride := func(uri, manualStatus string) (bool, bool) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: The comment above here for lndOverride is maybe a bit misplaced now that /lnrpc.State/GetState URI has been moved to a map. I'm fine to keep it as is if you think that the comment is still ok here :).

guggero added 2 commits July 29, 2024 11:00
When lnd isn't marked as fully ready yet, we didn't allow any REST
methods through. But to allow creating a wallet through REST, we also
need to allow these methods.
@guggero guggero merged commit 272409d into master Jul 29, 2024
@guggero guggero deleted the lnd-readiness branch July 29, 2024 10:06
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.

Bug on LITD instances // unable to use genseed API

4 participants