multi: add wtclient config defaults to lnd config

In this commit, a `DefaultWtClientCfg` function is added which
populates some default values for the `WtClient` struct. This is then
used to populate the wtclient defaults in the main LND config struct.
This commit is contained in:
Elle Mouton
2023-06-15 08:19:49 +02:00
parent 453fbb3358
commit d9c4ada991
3 changed files with 51 additions and 26 deletions

View File

@@ -713,6 +713,7 @@ func DefaultConfig() Config {
ServerPingTimeout: defaultGrpcServerPingTimeout,
ClientPingMinWait: defaultGrpcClientPingMinWait,
},
WtClient: lncfg.DefaultWtClientCfg(),
}
}