multi: remove LocalFeatures and GlobalFeatures
This commit is contained in:
9 files changed
+16
-37
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user