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 authored and Olaoluwa Osuntokun committed 2017-03-29 19:49:05 -07:00
1 parent b4ac7071ff
commit 4c52b6e6a4
4 files changed
+30 -16

No files matched your search

+2 -2
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
}