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

sendpayment Part 2: Channel open, Get invoice #58

Merged
merged 15 commits into from
Oct 8, 2022
Merged

Conversation

MaxFangX
Copy link
Collaborator

@MaxFangX MaxFangX commented Oct 5, 2022

Definitely review by commit. Commit names pretty clearly summarize what was changed.

@MaxFangX MaxFangX changed the title [WIP] sendpayment Part 2 sendpayment Part 2: Channel open, Get invoice Oct 7, 2022
@MaxFangX MaxFangX requested a review from phlip9 October 7, 2022 03:44
// TODO FIXME XXX: This trait requires that event handling *finishes*
// before returning from this function, but LDK #1674 (async event
// handling) isn't implemented yet. For now, we carry out the event
// handling in a spawned task, but this *must* be fixed eventually.
Copy link
Collaborator

Choose a reason for hiding this comment

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

why spawn the task now before the ldk feature is usable?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was causing a panic 'cannot start a Tokio runtime within a Tokio runtime' when running the node directly (not as a process) in the smoketest

Copy link
Collaborator

Choose a reason for hiding this comment

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

huh, don't really understand how that's happening...

Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe should figure rt issue out rather than enabling this?

@MaxFangX MaxFangX merged commit 8f975d9 into master Oct 8, 2022
@MaxFangX MaxFangX deleted the max/sendpayment-2 branch October 8, 2022 00:17
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