mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
chaintopology: remove redundant wallet pointer.
We already have access via the ld object, and we initialized this one twice anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -336,7 +336,6 @@ int main(int argc, char *argv[])
|
||||
/* Initialize wallet, now that we are in the correct directory */
|
||||
ld->wallet = wallet_new(ld, ld->log, &ld->timers);
|
||||
ld->owned_txfilter = txfilter_new(ld);
|
||||
ld->topology->wallet = ld->wallet;
|
||||
|
||||
/* We do extra checks in io_loop. */
|
||||
io_poll_debug = io_poll_override(io_poll_lightningd);
|
||||
|
||||
Reference in New Issue
Block a user