Skip to content

R4R: Refactor HTLC module#2106

Merged
chengwenxi merged 29 commits intov1.0.0-refactorfrom
segue/refactor-htlc
Dec 12, 2019
Merged

R4R: Refactor HTLC module#2106
chengwenxi merged 29 commits intov1.0.0-refactorfrom
segue/refactor-htlc

Conversation

@SegueII
Copy link
Contributor

@SegueII SegueII commented Dec 2, 2019

Resolves: #2095

@SegueII SegueII changed the title WIP: Refactor HTLC module R4R: Refactor HTLC module Dec 9, 2019
@SegueII SegueII requested a review from secret2830 December 10, 2019 03:04
Comment on lines 122 to 124
htlc.State = types.REFUNDED
k.SetHTLC(ctx, htlc, hashLock)

Copy link
Contributor

@dreamer-zq dreamer-zq Dec 10, 2019

Choose a reason for hiding this comment

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

remove the REFUNDED HTLC

Copy link
Contributor

Choose a reason for hiding this comment

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

good proposal. cc: @secret2830

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Delete the refunded HTLC #2128

@chengwenxi chengwenxi merged commit ad2ace0 into v1.0.0-refactor Dec 12, 2019
@chengwenxi chengwenxi deleted the segue/refactor-htlc branch December 12, 2019 05:38
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.

4 participants