mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-19 20:25:51 +01:00
multi: comprehensive typo fixes across all packages
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
72a5bc8648
commit
a93736d21e
@@ -271,7 +271,7 @@ Further paragraphs come after blank lines.
|
||||
Here are some of the reasons why wrapping your commit messages to 72 columns is
|
||||
a good thing.
|
||||
|
||||
- git log doesn’t do any special wrapping of the commit messages. With
|
||||
- git log doesn't do any special wrapping of the commit messages. With
|
||||
the default pager of less -S, this means your paragraphs flow far off the edge
|
||||
of the screen, making them difficult to read. On an 80 column terminal, if we
|
||||
subtract 4 columns for the indent on the left and 4 more for symmetry on the
|
||||
@@ -298,7 +298,7 @@ Blocks of code within `lnd` should be segmented into logical stanzas of
|
||||
operation. Such spacing makes the code easier to follow at a skim, and reduces
|
||||
unnecessary line noise. Coupled with the commenting scheme specified above,
|
||||
proper spacing allows readers to quickly scan code, extracting semantics quickly.
|
||||
Functions should _not_ just be layed out as a bare contiguous block of code.
|
||||
Functions should _not_ just be laid out as a bare contiguous block of code.
|
||||
|
||||
**WRONG**
|
||||
```go
|
||||
|
||||
@@ -131,7 +131,7 @@ Execute the following command in the directory where the **pom.xml** file is loc
|
||||
```
|
||||
mvn compile exec:java -Dexec.mainClass="Main" -Dexec.cleanupDaemonThreads=false
|
||||
```
|
||||
##### Sample ouput
|
||||
##### Sample output
|
||||
```
|
||||
[INFO] Scanning for projects...
|
||||
[INFO] ------------------------------------------------------------------------
|
||||
|
||||
@@ -44,7 +44,7 @@ Python gRPC.
|
||||
|
||||
#### Imports and Client
|
||||
|
||||
Everytime you use Python gRPC, you will have to import the generated rpc modules
|
||||
Every time you use Python gRPC, you will have to import the generated rpc modules
|
||||
and set up a channel and stub to your connect to your `lnd` node:
|
||||
|
||||
```python
|
||||
|
||||
Reference in New Issue
Block a user