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

dual-fund: Fail if you try to buy a liquidity ad w/o dualfunding on #5389

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

niftynei
Copy link
Collaborator

@niftynei niftynei commented Jul 8, 2022

Fixes #5271

In-Collaboration-With: Base58 'n Coding Seminar Participants

Changelog-Changed: fundchannel now errors if you try to buy a liquidity ad but dont' have experimental-dual-fund enabled

@niftynei niftynei added this to the v0.12 milestone Jul 11, 2022
@cdecker
Copy link
Member

cdecker commented Jul 12, 2022

I wonder if we couldn't just check if the compact_lease argument is null and then check that we and the peer support leases if it is not null?

Anyway, this appears to address this issue.

ACK e436171

Fixes ElementsProject#5271

In-Collaboration-With: Base58 'n Coding Seminar Participants

Changelog-Changed: `fundchannel` now errors if you try to buy a liquidity ad but dont' have `experimental-dual-fund` enabled
@cdecker
Copy link
Member

cdecker commented Jul 12, 2022

Rebased to kick the broken CI job off the list

ACK 49d7e7f

Copy link
Collaborator

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

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

ACK 49d7e7f

@niftynei niftynei merged commit 95ec897 into ElementsProject:master Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants