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

chore: Enforce minimum quantity to 500 on dlc channel open #1899

Merged
merged 3 commits into from
Jan 25, 2024

Conversation

holzeis
Copy link
Contributor

@holzeis holzeis commented Jan 25, 2024

@holzeis holzeis requested review from bonomat and luckysori January 25, 2024 12:05
@holzeis holzeis self-assigned this Jan 25, 2024
@holzeis holzeis changed the title chore: Enforece minimum quantity to 500 on dlc channel open chore: Enforce minimum quantity to 500 on dlc channel open Jan 25, 2024
At the moment we can be certain that there will ever only be one **signed** dlc channel. A previous channel that has been closed on-chain is not in a signed state and will not be returned by this function.

Use `list_dlc_channels` to get also non-signed dlc channels. Note, its not safe to use `first` on the `list_dlc_channels` function.
@holzeis holzeis force-pushed the chore/enforce-smallest-channel-size branch from eb1f251 to 1648cfe Compare January 25, 2024 12:18
@bonomat bonomat enabled auto-merge January 25, 2024 12:27
@bonomat bonomat added this pull request to the merge queue Jan 25, 2024
Merged via the queue into main with commit ab6df80 Jan 25, 2024
9 checks passed
@bonomat bonomat deleted the chore/enforce-smallest-channel-size branch January 25, 2024 12:47
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