server: use custom wtclient policy instead of default
This commit is contained in:
parent
1d2aba8cd4
commit
99d9e3caeb
@ -1104,8 +1104,8 @@ func newServer(listenAddrs []net.Addr, chanDB *channeldb.DB,
|
|||||||
Dial: cfg.net.Dial,
|
Dial: cfg.net.Dial,
|
||||||
AuthDial: wtclient.AuthDial,
|
AuthDial: wtclient.AuthDial,
|
||||||
DB: towerClientDB,
|
DB: towerClientDB,
|
||||||
Policy: wtpolicy.DefaultPolicy(),
|
|
||||||
PrivateTower: cfg.WtClient.PrivateTowers[0],
|
PrivateTower: cfg.WtClient.PrivateTowers[0],
|
||||||
|
Policy: policy,
|
||||||
ChainHash: *activeNetParams.GenesisHash,
|
ChainHash: *activeNetParams.GenesisHash,
|
||||||
MinBackoff: 10 * time.Second,
|
MinBackoff: 10 * time.Second,
|
||||||
MaxBackoff: 5 * time.Minute,
|
MaxBackoff: 5 * time.Minute,
|
||||||
|
Loading…
Reference in New Issue
Block a user