Skip to content

Conversation

cfromknecht
Copy link
Contributor

No description provided.

…ession

This commit changes when the sweep pkscript
is assigned in the construction of the justice
transaction. Currently, the sweep pkscript is
assigned when the task is bound to a session.
However, we will moving to an assignment where
a unique sweep pkscript is used per channel to
prevent address inflation. Hence, this commit
makes the sweep pkscript a state dependent
variable, since it can be known at the time the
channel id is assigned.
Copy link
Member

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

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

LGTM 🥨


t.outputs = outputs
t.blobType = session.Policy.BlobType
t.outputs = outputs
Copy link
Member

Choose a reason for hiding this comment

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

Any particular reason for this section of the diff? Just a line swap.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

just thought it was more logical to set blob type first, as the computed outputs depend on its value. but purely a stylistic preference

@Roasbeef Roasbeef merged commit f184188 into lightningnetwork:master Feb 9, 2019
@cfromknecht cfromknecht deleted the wtclient-weight-pkscript-fixups branch February 9, 2019 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants