multi: Update lnd to use new feature vector API.

This commit is contained in:
Jim Posen authored and Olaoluwa Osuntokun committed 2017-10-17 22:47:20 -07:00
1 parent af49752d4d
commit 9fd77a6e40
16 files changed
+49 -63

No files matched your search

+3 -3
View File
@@ -9,15 +9,15 @@ import "io"
type Init struct {
// GlobalFeatures is feature vector which affects HTLCs and thus are
// also advertised to other nodes.
GlobalFeatures *FeatureVector
GlobalFeatures *RawFeatureVector
// LocalFeatures is feature vector which only affect the protocol
// between two nodes.
LocalFeatures *FeatureVector
LocalFeatures *RawFeatureVector
}
// NewInitMessage creates new instance of init message object.
func NewInitMessage(gf, lf *FeatureVector) *Init {
func NewInitMessage(gf *RawFeatureVector, lf *RawFeatureVector) *Init {
return &Init{
GlobalFeatures: gf,
LocalFeatures: lf,