Skip to content

Commit 1f91327

Browse files
committed
f sp
1 parent 84de3ef commit 1f91327

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lightning/src/ln/msgs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1873,7 +1873,7 @@ pub trait BaseMessageHandler {
18731873

18741874
/// Handle a peer (re)connecting.
18751875
///
1876-
/// May retrn an `Err(())` to indicate that we should immediately disconnect from the peer
1876+
/// May return an `Err(())` to indicate that we should immediately disconnect from the peer
18771877
/// (e.g. because the features they support are not sufficient to communicate with us).
18781878
///
18791879
/// Note, of course, that other message handlers may wish to communicate with the peer, which

lightning/src/ln/peer_handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub trait CustomMessageHandler: wire::CustomMessageReader {
9898

9999
/// Handle a peer connecting.
100100
///
101-
/// May retrn an `Err(())` to indicate that we should immediately disconnect from the peer
101+
/// May return an `Err(())` to indicate that we should immediately disconnect from the peer
102102
/// (e.g. because the features they support are not sufficient to communicate with us).
103103
///
104104
/// Note, of course, that other message handlers may wish to communicate with the peer, which

0 commit comments

Comments
 (0)