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

Test that dual-funded channel opens error for existing channel ID #3652

Open
dunxen opened this issue Mar 7, 2025 · 0 comments
Open

Test that dual-funded channel opens error for existing channel ID #3652

dunxen opened this issue Mar 7, 2025 · 0 comments
Assignees
Milestone

Comments

@dunxen
Copy link
Contributor

dunxen commented Mar 7, 2025

We need an equivalent of the following test for dual-funded channel opens:

assert!(err_msg.contains("An existing channel using ID"));
assert!(err_msg.contains("is open with peer"));
let channel_id = ChannelId::v1_from_funding_outpoint(funding_output);
let reason = ClosureReason::ProcessingError { err: format!("An existing channel using ID {} is open with peer {}", channel_id, nodes[1].node.get_our_node_id()), };

See context: #3638

@dunxen dunxen added this to the 0.2 milestone Mar 7, 2025
@dunxen dunxen self-assigned this Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant