htlc: move htlc structure into channeld.

Other places require the flags and states, but the structure is
only needed in channeld, and even then we can remove several fields.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2017-08-29 01:27:01 +09:30
committed by Christian Decker
parent d1378fe1a5
commit 3c22aaa213
5 changed files with 85 additions and 92 deletions

View File

@@ -3,6 +3,7 @@
#include "config.h"
#include <bitcoin/pubkey.h>
#include <daemon/htlc.h>
#include <lightningd/channel/channeld_htlc.h>
struct keyset;
struct sha256_double;