mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
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>
This commit is contained in:
parent
a2ced6c16c
commit
b6339af195
@ -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) {
|
||||
|
@ -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…
Reference in New Issue
Block a user