diff --git a/hsmd/Makefile b/hsmd/Makefile index 4f3fd7d22..4ac793650 100644 --- a/hsmd/Makefile +++ b/hsmd/Makefile @@ -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 \ diff --git a/hsmd/hsm.c b/hsmd/hsm.c index f0503c2be..3f72c7ef0 100644 --- a/hsmd/hsm.c +++ b/hsmd/hsm.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -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);