Skip to content

routing: rename method and add err check when launch shard#5431

Merged
Roasbeef merged 1 commit into
lightningnetwork:masterfrom
yyforyongyu:5259-follow-up
Jun 28, 2021
Merged

routing: rename method and add err check when launch shard#5431
Roasbeef merged 1 commit into
lightningnetwork:masterfrom
yyforyongyu:5259-follow-up

Conversation

@yyforyongyu
Copy link
Copy Markdown
Member

A follow-up commit for PR #5332 . In this commit we add more docs, rename
function updatePaymentState to fetchePaymentState, and add back the
check for channeldb.ErrPaymentTerminal after we launch shard.

@yyforyongyu yyforyongyu requested a review from Roasbeef June 25, 2021 19:58
Comment thread routing/payment_lifecycle.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
// fetchePaymentState will query the db for the latest payment state
// fetchPaymentState will query the db for the latest payment state

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed!

A followup commit for PR#5332. In this commit we add more docs, rename
function updatePaymentState to fetchePaymentState, and add back the
check for channeldb.ErrPaymentTerminal after we launch shard.
@Roasbeef Roasbeef added this to the 0.13.1 milestone Jun 28, 2021
Copy link
Copy Markdown
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 ☄️

@Roasbeef Roasbeef merged commit cafa624 into lightningnetwork:master Jun 28, 2021
@yyforyongyu yyforyongyu deleted the 5259-follow-up branch June 29, 2021 12:38
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.

3 participants