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

routerrpc: pass in probability source #4596

Merged
merged 1 commit into from
Sep 4, 2020

Conversation

guggero
Copy link
Collaborator

@guggero guggero commented Sep 4, 2020

Fixes #4594.

When using routerrpc.EstimateRouteFee, the routing algorithm is invoked without setting a probability source which results in a crash in the router.

@halseth
Copy link
Contributor

halseth commented Sep 4, 2020

Hm, so this never worked? 🤔

Copy link
Contributor

@halseth halseth 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
Copy link
Member

Roasbeef commented Sep 4, 2020

Hm, so this never worked? 🤔

No it worked in the past, but updates to the mission control system didn't also update this call as there're no integration tests for tis call as is.

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 🐝

@Roasbeef Roasbeef merged commit 16d564e into lightningnetwork:master Sep 4, 2020
@guggero guggero deleted the router-fix branch September 5, 2020 12:51
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.

router.estimateRouteFee : panic: runtime error: invalid memory address or nil pointer dereference
3 participants