mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-08 08:34:31 +01:00
hsmd: add debugging into io_loop.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -29,6 +29,7 @@ HSMD_COMMON_OBJS := \
|
||||
common/daemon_conn.o \
|
||||
common/debug.o \
|
||||
common/funding_tx.o \
|
||||
common/io_debug.o \
|
||||
common/key_derive.o \
|
||||
common/msg_queue.o \
|
||||
common/permute_tx.o \
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <common/daemon_conn.h>
|
||||
#include <common/debug.h>
|
||||
#include <common/funding_tx.h>
|
||||
#include <common/io_debug.h>
|
||||
#include <common/status.h>
|
||||
#include <common/utils.h>
|
||||
#include <common/version.h>
|
||||
@@ -662,6 +663,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
subdaemon_debug(argc, argv);
|
||||
io_poll_override(debug_poll);
|
||||
|
||||
secp256k1_ctx = secp256k1_context_create(SECP256K1_CONTEXT_VERIFY
|
||||
| SECP256K1_CONTEXT_SIGN);
|
||||
|
||||
Reference in New Issue
Block a user