watchtower/multi: thread ChainHash to server

This commit is contained in:
Conner Fromknecht committed 2019-02-08 20:02:17 -08:00
1 parent b3a9650ff9
commit 4a0fc3e980
2 files changed
+7

No files matched your search

+1
View File
@@ -78,6 +78,7 @@ func New(cfg *Config) (*Standalone, error) {
// Initialize the server with its required resources.
server, err := wtserver.New(&wtserver.Config{
ChainHash: cfg.ChainHash,
DB: cfg.DB,
NodePrivKey: cfg.NodePrivKey,
Listeners: listeners,