watchtower/standalone: disable reward towers

This commit is contained in:
Conner Fromknecht 2019-06-13 17:35:54 -07:00
parent 6504058c74
commit 29009fdc34
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -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