Browse Source

daemon: remove unused CMD_REQUEUE.

This was a remnant of the old code which used to alternate priority
for making changes.

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

3
daemon/peer.c

@ -164,9 +164,6 @@ static void state_single(struct peer *peer,
log_add(peer->log, " (command FAIL)");
peer_cmd_complete(peer, CMD_FAIL);
break;
case CMD_REQUEUE:
log_add(peer->log, " (Command requeue)");
break;
}
if (tal_count(peer->outpkt) > old_outpkts) {

2
state_types.h

@ -141,8 +141,6 @@ enum command_status {
CMD_NONE,
/* Command succeeded. */
CMD_SUCCESS,
/* HTLC-command needs re-issuing (theirs takes preference) */
CMD_REQUEUE,
/* Failed. */
CMD_FAIL
};

Loading…
Cancel
Save