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

R4R: Implement HTLC claim and refund #1956

Merged
merged 8 commits into from
Sep 6, 2019
Merged

R4R: Implement HTLC claim and refund #1956

merged 8 commits into from
Sep 6, 2019

Conversation

SegueII
Copy link
Contributor

@SegueII SegueII commented Sep 5, 2019

Resolves: #1949

@SegueII SegueII added enhancement New feature or improvement HTLC labels Sep 5, 2019

calimTags := sdk.NewTags(
types.TagSender, []byte(htlc.Sender),
types.TagReceiver, []byte(htlc.Receiver),
Copy link
Contributor

Choose a reason for hiding this comment

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

htlc.Sender.String()
htlc.Receiver.String()

ctx.CoinFlowTags().AppendCoinFlowTag(ctx, htlcAddr.String(), htlc.Sender.String(), htlc.OutAmount.String(), sdk.CoinHTLCRefundFlow, "")

refundTags := sdk.NewTags(
types.TagSender, []byte(htlc.Sender),
Copy link
Contributor

Choose a reason for hiding this comment

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

++

@chengwenxi chengwenxi merged commit 6d5b07d into develop Sep 6, 2019
@chengwenxi chengwenxi deleted the segue/htlc branch September 6, 2019 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement HTLC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants