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:
1 parent
b4ac7071ff
commit
4c52b6e6a4
4 files changed
+30
-16
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user