-
Notifications
You must be signed in to change notification settings - Fork 61
Question about duplicate Start() calls in LndChallenger initialization #169
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
Comments
Those are two different kinds of challengers. One uses an |
I understand that these are two different challengers (direct LND and LNC), but in the case of
This means we're calling |
To be more specific, in |
Ah yeah, sorry. Looked at the code too superficially. I think it makes sense to remove the explicit call to |
Description:
I noticed that the
Start()
method ofLndChallenger
is called twice during initialization:NewLndChallenger
(lnd.go#L68)NewLNCChallenger
(lnc.go#L44)While analyzing the
Start()
method implementation, I found that it:Questions:
Start()
call fromNewLndChallenger
and let the caller handle initialization?I'd appreciate any clarification on the design decision behind this pattern.
The text was updated successfully, but these errors were encountered: