mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 00:24:19 +01:00
commit_tx: keep permutation map.
This lets us map the HTLCs back to outputs when txs occur onchain. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -20,5 +20,6 @@ struct bitcoin_tx *create_commit_tx(const tal_t *ctx,
|
||||
unsigned int anchor_index,
|
||||
u64 anchor_satoshis,
|
||||
const struct sha256 *rhash,
|
||||
const struct channel_state *cstate);
|
||||
const struct channel_state *cstate,
|
||||
int **map);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user