mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-28 13:52:55 +02:00
router: move self node out of config
We are going to use the config struct to allow getting and setting of the mission control config in the commits that follow. Self node is not something we want to change, so we move it out for better separation.
This commit is contained in:
@@ -33,7 +33,7 @@ func TestRequestRoute(t *testing.T) {
|
||||
func() (routingGraph, func(), error) {
|
||||
return &sessionGraph{}, func() {}, nil
|
||||
},
|
||||
&MissionControl{cfg: &MissionControlConfig{}},
|
||||
&MissionControl{},
|
||||
PathFindingConfig{},
|
||||
)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user