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

cln: remove wumbo check because CLN >=v23.11 defaults to enabling it #269

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

grubles
Copy link
Collaborator

@grubles grubles commented Jan 10, 2024

Latest CLN ignores large-channels / wumbo config options and does not pass them to PeerSwap. PeerSwap checks for this config option and cancels large swaps if it is missing. This PR removes ClnMaxPaymentSizeMsat and the check since we don't need it anymore for CLN >=23.11.

Fixes #261

Copy link
Contributor

@YusukeShimizu YusukeShimizu left a comment

Choose a reason for hiding this comment

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

ack

@grubles grubles merged commit 4d1270b into ElementsProject:master Jan 11, 2024
6 checks passed
Copy link
Contributor

@nepet nepet left a comment

Choose a reason for hiding this comment

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

ACK 23f3ac5

@@ -137,7 +137,6 @@ test-misc-integration: test-bins
'Test_RestoreFromPassedCSV|'\
'Test_Recover_PassedSwap_BTC|'\
'Test_Recover_PassedSwap_LBTC|'\
'Test_Wumbo|'\
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the wumbo test also used in a different place or can we remove the test completely from the tests?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I didn't feel 100% comfortable removing wumbo_test.go too just in case it was used elsewhere. Pretty certain it is fine to remove it though.

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.

Latest CLN defaults to wumbo now. PeerSwap's wumbo / large-channels check is broken.
3 participants