mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
dual-fund: call daemon_shutdown only
daemon_shutdown calls common_shutdown internally; calling both frees the same context twice
This commit is contained in:
parent
56b3711bbc
commit
db2b013990
1 changed files with 0 additions and 1 deletions
|
@ -1516,7 +1516,6 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
/* This frees the entire tal tree. */
|
/* This frees the entire tal tree. */
|
||||||
tal_free(state);
|
tal_free(state);
|
||||||
common_shutdown();
|
|
||||||
daemon_shutdown();
|
daemon_shutdown();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue