connectd: drop support (unused) for @ during handshake.

We could implement it, but we don't have to.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2022-01-11 11:46:04 +10:30
parent 26b9384fd0
commit bb5beeddd7

View file

@ -216,7 +216,8 @@ struct io_plan *peer_exchange_initmsg(struct io_conn *conn,
next = peer_write_postclose;
break;
case DEV_DISCONNECT_BLACKHOLE:
dev_blackhole_fd(io_conn_fd(conn));
status_failed(STATUS_FAIL_INTERNAL_ERROR,
"Blackhole not supported during handshake");
break;
case DEV_DISCONNECT_NORMAL:
break;