lightningd: get fd from HSM synchronously.

This means there's no GETTING_HSMFD state at all any more.  We
temporarily play games with the hsm fd; those will go away once we're
done.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2017-06-24 15:55:53 +09:30
parent 77620ea06f
commit 232a182b25
3 changed files with 47 additions and 91 deletions

View File

@@ -60,9 +60,6 @@ struct peer {
/* Our channel config. */
struct channel_config our_config;
/* funding_signed packet for fundee, waiting to send. */
const u8 *funding_signed;
/* Minimum funding depth (specified by us if they fund). */
u32 minimum_depth;