From c415c80d487ead3ce4338a818f0070be504f001a Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 18 Jul 2022 21:42:28 +0930 Subject: [PATCH] connectd: spelling and typo fixes. From @niftynei. Signed-off-by: Rusty Russell --- connectd/multiplex.c | 2 +- lightningd/peer_control.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/connectd/multiplex.c b/connectd/multiplex.c index 6d583cc0b..b4f95107d 100644 --- a/connectd/multiplex.c +++ b/connectd/multiplex.c @@ -1112,7 +1112,7 @@ static struct io_plan *read_body_from_peer_done(struct io_conn *peer_conn, return read_hdr_from_peer(peer_conn, peer); } - /* If we don't find a subdaemon for this, crteat a new one. */ + /* If we don't find a subdaemon for this, create a new one. */ subd = find_subd(peer, &channel_id); if (!subd) { enum peer_wire t = fromwire_peektype(decrypted); diff --git a/lightningd/peer_control.c b/lightningd/peer_control.c index 785ad32cb..3dfebb77c 100644 --- a/lightningd/peer_control.c +++ b/lightningd/peer_control.c @@ -1305,7 +1305,7 @@ void peer_connected(struct lightningd *ld, const u8 *msg) /* When a peer disconnects, we give subds time to clean themselves up * (this lets connectd ensure they've seen the final messages). But - * nowe it's reconnected, we've gotta force them out. */ + * now it's reconnected, we've gotta force them out. */ peer_channels_cleanup(ld, &id); /* If we're already dealing with this peer, hand off to correct @@ -1320,7 +1320,7 @@ void peer_connected(struct lightningd *ld, const u8 *msg) * already reconnected: we would tell it again when we read the * "peer_connected" message, and it would get upset (plus, our first * subd wouldn't die as expected. So we echo this back to connectd - * on peer commands, and it knows to ignore if it wrong. */ + * on peer commands, and it knows to ignore if it's wrong. */ peer->connectd_counter = connectd_counter; /* We mark peer in "connecting" state until hooks have passed. */