Skip to content

Only write BlindedHopFeatures if any features are set#2949

Merged
TheBlueMatt merged 1 commit intolightningdevkit:mainfrom
valentinewallace:2024-03-dont-write-empty-features
Mar 20, 2024
Merged

Only write BlindedHopFeatures if any features are set#2949
TheBlueMatt merged 1 commit intolightningdevkit:mainfrom
valentinewallace:2024-03-dont-write-empty-features

Conversation

@valentinewallace
Copy link
Contributor

Minor space-saving optimization. Follow-up to #2945.

Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

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

Nice. I assume we've got pretty reasonable test coverage for this given its now the always-taken path, so will go ahead and merge this.

@TheBlueMatt TheBlueMatt merged commit 5c49358 into lightningdevkit:main Mar 20, 2024
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.

2 participants