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.
|
// Initialize the server with its required resources.
|
||||||
server, err := wtserver.New(&wtserver.Config{
|
server, err := wtserver.New(&wtserver.Config{
|
||||||
ChainHash: cfg.ChainHash,
|
ChainHash: cfg.ChainHash,
|
||||||
DB: cfg.DB,
|
DB: cfg.DB,
|
||||||
NodePrivKey: cfg.NodePrivKey,
|
NodePrivKey: cfg.NodePrivKey,
|
||||||
Listeners: listeners,
|
Listeners: listeners,
|
||||||
ReadTimeout: cfg.ReadTimeout,
|
ReadTimeout: cfg.ReadTimeout,
|
||||||
WriteTimeout: cfg.WriteTimeout,
|
WriteTimeout: cfg.WriteTimeout,
|
||||||
NewAddress: cfg.NewAddress,
|
NewAddress: cfg.NewAddress,
|
||||||
|
DisableReward: true,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user