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

Fail to deserialize ChannelManager if it is ahead of any monitor(s) #554

Conversation

TheBlueMatt
Copy link
Collaborator

If any monitors are out of sync with the Channel, we previously
closed the channel, but we should really only do that if the
monitor is ahead of the channel, opting to call the whole thing
invalid if the channel is ahead of the monitor.

As requested by @ariard at #551 (comment)

@ariard
Copy link

ariard commented Mar 20, 2020

Test don't build but otherwise Concept ACK

If any monitors are out of sync with the Channel, we previously
closed the channel, but we should really only do that if the
monitor is ahead of the channel, opting to call the whole thing
invalid if the channel is ahead of the monitor.
@TheBlueMatt TheBlueMatt force-pushed the 2020-03-stale-mon-fail-man-deser branch from 908a759 to 0335d61 Compare March 20, 2020 16:43
@TheBlueMatt TheBlueMatt force-pushed the 2020-03-stale-mon-fail-man-deser branch from 0335d61 to 4aa95af Compare March 20, 2020 16:50
@TheBlueMatt
Copy link
Collaborator Author

Test should be good now without NLL. Sorry about that.

@ariard
Copy link

ariard commented Mar 20, 2020

SGTM 4aa95af

@TheBlueMatt TheBlueMatt merged commit ed0d5d1 into lightningdevkit:master Mar 20, 2020
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