htlc: store which side created the HTLC.

This is generally redundant, since HTLC pointer is in that side's
commit_info, but makes HTLC completely self-contained.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-07-01 11:27:57 +09:30
parent fbe15bdce2
commit 7e6dc28f70
5 changed files with 18 additions and 5 deletions

View File

@@ -5,6 +5,7 @@
#include "bitcoin/tx.h"
#include "commit_tx.h"
#include "daemon/channel.h"
#include "daemon/htlc.h"
#include "overflows.h"
#include "permute_tx.h"
#include "remove_dust.h"