In #694 we added support for initialising the subServer struct with functional options. Unfortunately though, with the last refactors in the PR I forgot to also apply the functional options in subServer constructor function. Sorry for that, this was totally my bad! The current resulting behaviour is that the litcli status won't function as expected for lnd, while lnd Subserver is in the WalletReady state (until it enters the Running state).
This PR addresses the issue, and applies the functional options in the subServer constructor.
In #694 we added support for initialising the
subServer
struct with functional options. Unfortunately though, with the last refactors in the PR I forgot to also apply the functional options insubServer
constructor function. Sorry for that, this was totally my bad! The current resulting behaviour is that thelitcli status
won't function as expected forlnd
, whilelnd
Subserver is in theWalletReady
state (until it enters theRunning
state).This PR addresses the issue, and applies the functional options in the
subServer
constructor.