mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-12 14:12:27 +02:00
multi: Update lnd to use new feature vector API.
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
af49752d4d
commit
9fd77a6e40
@ -145,8 +145,9 @@ func (d *databaseChannelGraph) addRandChannel(node1, node2 *btcec.PublicKey,
|
||||
IP: bytes.Repeat([]byte("a"), 16),
|
||||
},
|
||||
},
|
||||
Features: lnwire.NewFeatureVector(nil),
|
||||
AuthSig: testSig,
|
||||
Features: lnwire.NewFeatureVector(nil,
|
||||
lnwire.GlobalFeatures),
|
||||
AuthSig: testSig,
|
||||
}
|
||||
if err := d.db.AddLightningNode(graphNode); err != nil {
|
||||
return nil, err
|
||||
@ -170,7 +171,7 @@ func (d *databaseChannelGraph) addRandChannel(node1, node2 *btcec.PublicKey,
|
||||
IP: bytes.Repeat([]byte("a"), 16),
|
||||
},
|
||||
},
|
||||
Features: lnwire.NewFeatureVector(nil),
|
||||
Features: lnwire.NewFeatureVector(nil, lnwire.GlobalFeatures),
|
||||
AuthSig: testSig,
|
||||
}
|
||||
if err := d.db.AddLightningNode(dbNode); err != nil {
|
||||
|
Reference in New Issue
Block a user