mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
lightningd: add FIXMEs for future work.
Suggested-by: Christian Decker Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
96a85a786c
commit
f082c7b80e
@ -1783,6 +1783,7 @@ void peer_last_tx(struct peer *peer, struct bitcoin_tx *tx,
|
||||
peer->last_tx = tal_steal(peer, tx);
|
||||
}
|
||||
|
||||
/* FIXME: Guard with heavy dev-only #ifdefs! */
|
||||
static void json_sign_last_tx(struct command *cmd,
|
||||
const char *buffer, const jsmntok_t *params)
|
||||
{
|
||||
|
@ -551,6 +551,8 @@ struct subd *new_subd(const tal_t *ctx,
|
||||
|
||||
void subd_send_msg(struct subd *sd, const u8 *msg_out)
|
||||
{
|
||||
/* FIXME: We should use unique upper bits for each daemon, then
|
||||
* have generate-wire.py add them, just assert here. */
|
||||
assert(!strstarts(sd->msgname(fromwire_peektype(msg_out)), "INVALID"));
|
||||
msg_enqueue(&sd->outq, msg_out);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user