watchtower/standalone: disable reward towers
This commit is contained in:
parent
6504058c74
commit
29009fdc34
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user