lnd: replace 'routing' with 'discovery' package

Add usage of the 'discovery' package in the lnd, now discovery service
will be handle all lnwire announcement messages and send them to the
remote party.
This commit is contained in:
Andrey Samokhvalov
2017-03-20 00:06:10 +03:00
committed by Olaoluwa Osuntokun
parent b4ac7071ff
commit 4c52b6e6a4
4 changed files with 30 additions and 16 deletions

View File

@@ -68,10 +68,10 @@ func createTestNode() (*channeldb.LightningNode, error) {
return &channeldb.LightningNode{
LastUpdate: time.Now(),
Address: testAddr,
Addresses: testAddrs,
PubKey: priv.PubKey(),
Alias: alias.String(),
Features: testFeatures,
Features: testFeatures,
}, nil
}