Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

take and hold a reference to ChannelManager #9

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

johncantrell97
Copy link
Contributor

There's no real need for the LiquidityManager to actually hold the channel manager. Once LSPS1 and/or LSPS2 are landed we should remove the reference from LiquidityManager as the reference will just pass through to the constructors of the protocols.

Instead of putting the type constraints on just the new method, this way is closer to what it will actually look like once the LiquidityManager will hold LSPS1/2 objects that have these same generics.

@tnull
Copy link
Collaborator

tnull commented Jul 14, 2023

The CI failure should be due to #10. Feel free to rebase this PR after it has been merged.

@johncantrell97 johncantrell97 force-pushed the channel-manager branch 2 times, most recently from 34b60bc to c513fa5 Compare July 14, 2023 18:48
@johncantrell97
Copy link
Contributor Author

Rebased, thanks

@tnull tnull merged commit e8413c0 into lightningdevkit:main Jul 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants