mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
daemon: keep enum htlc_state within struct htlc.
And update the state as HTLCs get moved around. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -97,6 +97,7 @@ struct peer_visible_state {
|
||||
/* cstate to generate next commitment tx. */
|
||||
struct channel_state *staging_cstate;
|
||||
|
||||
/* FIXME: Use single map in struct peer. */
|
||||
/* HTLCs offered by this side */
|
||||
struct htlc_map htlcs;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user