Skip to content

patch to change temp_channel from deserialise to copy #155

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

Closed
wants to merge 2 commits into from

Conversation

SWvheerden
Copy link
Contributor

I am making this PR because #142 has code in it that requires more discussion and better implementation.

patch to change temp_channel from deserialise to copy
src/ln/msgs.rs Outdated
Ok(OpenChannel {
chain_hash: deserialize(&v[0..32]).unwrap(),
temporary_channel_id: deserialize(&v[32..64]).unwrap(),
temporary_channel_id: temp_channel_id,
chain_hash: deserialize(&v[0..32])?,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oops, this line was carried over from the previous change. And the next one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

haha oops, happens when you edit in the browser, while sitting in a bus.

TheBlueMatt added a commit that referenced this pull request Sep 6, 2018
patch to change temp_channel from deserialise to copy
@TheBlueMatt
Copy link
Collaborator

Squashed + merged.

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