Skip to content

Conversation

@shroominic
Copy link
Contributor

Moves the RECEIVE_LN_ADDRESS check inside the payout loop so it doesn't stop the loop if not set initially, but warns when attempting payout.

available_balance = proofs_balance - user_balance
min_amount = 210 if unit == "sat" else 210000
if available_balance > min_amount:
if not settings.receive_ln_address:
Copy link
Contributor

Choose a reason for hiding this comment

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

better outside the loop to not spam the logger, when multiple minsts are set

@shroominic
Copy link
Contributor Author

actually i think before was good enough

@shroominic shroominic closed this Jan 7, 2026
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