wathtower/blob+wtserver: support anchor sessions

This commit is contained in:
Conner Fromknecht committed 2020-11-25 15:04:00 -08:00
1 parent 069296c46c
commit 3856acce50
4 files changed
+35 -3

No files matched your search

+4 -1
View File
@@ -96,7 +96,10 @@ type Server struct {
// sessions and send state updates.
func New(cfg *Config) (*Server, error) {
localInit := wtwire.NewInitMessage(
lnwire.NewRawFeatureVector(wtwire.AltruistSessionsOptional),
lnwire.NewRawFeatureVector(
wtwire.AltruistSessionsOptional,
wtwire.AnchorCommitOptional,
),
cfg.ChainHash,
)