From 29009fdc346f172d0e4b91e2550d398b07892b86 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Thu, 13 Jun 2019 17:35:54 -0700 Subject: [PATCH] watchtower/standalone: disable reward towers --- watchtower/standalone.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/watchtower/standalone.go b/watchtower/standalone.go index f55f44cb..83bf49dc 100644 --- a/watchtower/standalone.go +++ b/watchtower/standalone.go @@ -78,13 +78,14 @@ 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, - ReadTimeout: cfg.ReadTimeout, - WriteTimeout: cfg.WriteTimeout, - NewAddress: cfg.NewAddress, + ChainHash: cfg.ChainHash, + DB: cfg.DB, + NodePrivKey: cfg.NodePrivKey, + Listeners: listeners, + ReadTimeout: cfg.ReadTimeout, + WriteTimeout: cfg.WriteTimeout, + NewAddress: cfg.NewAddress, + DisableReward: true, }) if err != nil { return nil, err