mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-07 16:14:26 +01:00
lightningd: remove unused original_directory field.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -239,11 +239,6 @@ static struct lightningd *new_lightningd(const tal_t *ctx)
|
||||
*/
|
||||
jsonrpc_setup(ld);
|
||||
|
||||
/*~ We changed when we start plugins, messing up relative paths.
|
||||
* This saves our original dirs so we can fixup and warn for the
|
||||
* moment (0.7.2). */
|
||||
ld->original_directory = path_cwd(ld);
|
||||
|
||||
/*~ We run a number of plugins (subprocesses that we talk JSON-RPC with)
|
||||
* alongside this process. This allows us to have an easy way for users
|
||||
* to add their own tools without having to modify the c-lightning source
|
||||
|
||||
@@ -251,9 +251,6 @@ struct lightningd {
|
||||
char *tor_service_password;
|
||||
bool pure_tor_setup;
|
||||
|
||||
/* Original directory for deprecated plugin-relative-to-cwd */
|
||||
const char *original_directory;
|
||||
|
||||
struct plugins *plugins;
|
||||
|
||||
char *wallet_dsn;
|
||||
|
||||
Reference in New Issue
Block a user