multi: remove LocalFeatures and GlobalFeatures

This commit is contained in:
Conner Fromknecht committed 2019-11-08 05:32:00 -08:00
1 parent 16318c5a41
commit 5e27b5022c
9 files changed
+16 -37

No files matched your search

+1 -1
View File
@@ -3506,7 +3506,7 @@ func deserializeLightningNode(r io.Reader) (LightningNode, error) {
return LightningNode{}, err
}
fv := lnwire.NewFeatureVector(nil, lnwire.GlobalFeatures)
fv := lnwire.NewFeatureVector(nil, lnwire.Features)
err = fv.Decode(r)
if err != nil {
return LightningNode{}, err
+1 -1
View File
@@ -36,7 +36,7 @@ var (
_, _ = testSig.R.SetString("63724406601629180062774974542967536251589935445068131219452686511677818569431", 10)
_, _ = testSig.S.SetString("18801056069249825825291287104931333862866033135609736119018462340006816851118", 10)
testFeatures = lnwire.NewFeatureVector(nil, lnwire.GlobalFeatures)
testFeatures = lnwire.NewFeatureVector(nil, lnwire.Features)
)
func createLightningNode(db *DB, priv *btcec.PrivateKey) (*LightningNode, error) {
+1 -1
View File
@@ -744,7 +744,7 @@ func deserializeLightningNode(r io.Reader) (LightningNode, error) {
return LightningNode{}, err
}
fv := lnwire.NewFeatureVector(nil, lnwire.GlobalFeatures)
fv := lnwire.NewFeatureVector(nil, nil)
err = fv.Decode(r)
if err != nil {
return LightningNode{}, err
+1 -1
View File
@@ -25,7 +25,7 @@ var (
_, _ = testSig.R.SetString("63724406601629180062774974542967536251589935445068131219452686511677818569431", 10)
_, _ = testSig.S.SetString("18801056069249825825291287104931333862866033135609736119018462340006816851118", 10)
testFeatures = lnwire.NewFeatureVector(nil, lnwire.GlobalFeatures)
testFeatures = lnwire.NewFeatureVector(nil, nil)
)
func createLightningNode(db *DB, priv *btcec.PrivateKey) (*LightningNode, error) {