multi: Fix typos [skip ci]

This commit is contained in:
Dimitris Apostolou
2022-01-13 18:29:43 +02:00
parent f50950640f
commit 530a2059e5
139 changed files with 254 additions and 254 deletions

View File

@@ -33,7 +33,7 @@ func createNewSubServer(configRegistry lnrpc.SubServerConfigDispatcher) (
}
// Before we try to make the new router service instance, we'll perform
// some sanity checks on the arguments to ensure that they're useable.
// some sanity checks on the arguments to ensure that they're usable.
switch {
case config.Router == nil:
return nil, nil, fmt.Errorf("Router must be set to create " +

View File

@@ -59,7 +59,7 @@ func newForwardInterceptor(server *Server, stream Router_HtlcInterceptorServer)
}
// run sends the intercepted packets to the client and receives the
// corersponding responses. On one hand it regsitered itself as an interceptor
// corersponding responses. On one hand it registered itself as an interceptor
// that receives the switch packets and on the other hand launches a go routine
// to read from the client stream.
// To coordinate all this and make sure it is safe for concurrent access all

View File

@@ -132,7 +132,7 @@ type MissionControl interface {
// QueryRoutes attempts to query the daemons' Channel Router for a possible
// route to a target destination capable of carrying a specific amount of
// satoshis within the route's flow. The retuned route contains the full
// satoshis within the route's flow. The returned route contains the full
// details required to craft and send an HTLC, also including the necessary
// information that should be present within the Sphinx packet encapsulated
// within the HTLC.

View File

@@ -666,7 +666,7 @@ func getMsatPairValue(msatValue lnwire.MilliSatoshi,
return msatValue, nil
}
// If we have no msatValue, we can just return our sate value even if
// If we have no msatValue, we can just return our state value even if
// it is zero, because it's impossible that we have mismatched values.
if msatValue == 0 {
return lnwire.MilliSatoshi(satValue * 1000), nil
@@ -879,7 +879,7 @@ func (s *Server) SubscribeHtlcEvents(req *SubscribeHtlcEventsRequest,
// requests to the caller.
// Upon connection it does the following:
// 1. Check if there is already a live stream, if yes it rejects the request.
// 2. Regsitered a ForwardInterceptor
// 2. Registered a ForwardInterceptor
// 3. Delivers to the caller every √√ and detect his answer.
// It uses a local implementation of holdForwardsStore to keep all the hold
// forwards and find them when manual resolution is later needed.