Browse Source

daemon: remove three fixed FIXMEs.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 9 years ago
parent
commit
87af51a422
  1. 1
      daemon/db.c
  2. 2
      daemon/peer.c

1
daemon/db.c

@ -698,7 +698,6 @@ static void connect_htlc_src(struct lightningd_state *dstate)
tal_free(ctx); tal_free(ctx);
} }
/* FIXME: Expose pull/push and use that here. */
static const char *linearize_shachain(const tal_t *ctx, static const char *linearize_shachain(const tal_t *ctx,
const struct shachain *shachain) const struct shachain *shachain)
{ {

2
daemon/peer.c

@ -4107,7 +4107,6 @@ static struct io_plan *peer_reconnect(struct io_conn *conn, struct peer *peer)
if (peer->conn) if (peer->conn)
return io_close(conn); return io_close(conn);
/* FIXME: log incoming address. */
log_debug(peer->log, "Reconnected, doing crypto..."); log_debug(peer->log, "Reconnected, doing crypto...");
peer->conn = conn; peer->conn = conn;
assert(!peer->connected); assert(!peer->connected);
@ -4440,7 +4439,6 @@ static void json_newhtlc(struct command *cmd,
command_success(cmd, response); command_success(cmd, response);
} }
/* FIXME: Use HTLC ids, not r values! */
const struct json_command newhtlc_command = { const struct json_command newhtlc_command = {
"newhtlc", "newhtlc",
json_newhtlc, json_newhtlc,

Loading…
Cancel
Save