server: use custom wtclient policy instead of default

This commit is contained in:
Wilmer Paulino authored and Olaoluwa Osuntokun committed 2019-07-24 18:16:18 -07:00
1 parent 1d2aba8cd4
commit 99d9e3caeb
1 file changed
+1 -1
+1 -1
View File
@@ -1104,8 +1104,8 @@ func newServer(listenAddrs []net.Addr, chanDB *channeldb.DB,
Dial: cfg.net.Dial,
AuthDial: wtclient.AuthDial,
DB: towerClientDB,
Policy: wtpolicy.DefaultPolicy(),
PrivateTower: cfg.WtClient.PrivateTowers[0],
Policy: policy,
ChainHash: *activeNetParams.GenesisHash,
MinBackoff: 10 * time.Second,
MaxBackoff: 5 * time.Minute,