Skip to content

Commit 107c7ec

Browse files
committed
lightningd: remove unused original_directory field.
Signed-off-by: Rusty Russell <[email protected]>
1 parent 3d1c376 commit 107c7ec

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

lightningd/lightningd.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,6 @@ static struct lightningd *new_lightningd(const tal_t *ctx)
239239
*/
240240
jsonrpc_setup(ld);
241241

242-
/*~ We changed when we start plugins, messing up relative paths.
243-
* This saves our original dirs so we can fixup and warn for the
244-
* moment (0.7.2). */
245-
ld->original_directory = path_cwd(ld);
246-
247242
/*~ We run a number of plugins (subprocesses that we talk JSON-RPC with)
248243
* alongside this process. This allows us to have an easy way for users
249244
* to add their own tools without having to modify the c-lightning source

lightningd/lightningd.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,6 @@ struct lightningd {
251251
char *tor_service_password;
252252
bool pure_tor_setup;
253253

254-
/* Original directory for deprecated plugin-relative-to-cwd */
255-
const char *original_directory;
256-
257254
struct plugins *plugins;
258255

259256
char *wallet_dsn;

0 commit comments

Comments
 (0)