Skip to content

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalswift authored and rustyrussell committed Dec 11, 2017
1 parent 7c09b6f commit 0353ec0
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# c-lightning: A specification compliant Lightning Network implementation in C

c-lightning is a [standard compliant](https://github.com/lightningnetwork/lightning-rfc) implementation of the Lightning Network protocol.
The Lightning Network is a scalability solution for Bitcoin, enabling secure and instant transfer of funds between any two party for any amount.
The Lightning Network is a scalability solution for Bitcoin, enabling secure and instant transfer of funds between any two party for any amount.

For more information about the Lightning Network please refer to http://lightning.network.

Expand Down Expand Up @@ -46,7 +46,7 @@ In order to start `lightningd` you will need to have a local `bitcoind` node run
bitcoind -daemon -testnet
```

Wait until `bitcoind` has synchronized with the testnet network. In case you use regtest, make sure you generate at least 432 blocks to activate SegWit.
Wait until `bitcoind` has synchronized with the testnet network. In case you use regtest, make sure you generate at least 432 blocks to activate SegWit.

You can start `lightningd` with the following command:

Expand All @@ -60,7 +60,7 @@ First you need to transfer some funds to `lightningd` so that it can open a chan

```
# Returns an address <address>
cli/lightning-cli newaddr
cli/lightning-cli newaddr
# Returns a transaction id <txid>
bitcoin-cli -testnet sendtoaddress <address> <amount>
Expand Down
2 changes: 1 addition & 1 deletion closingd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ clean: closingd-clean
closingd-clean:
$(RM) $(LIGHTNINGD_CLOSING_OBJS) closingd/gen_*

-include closingd/test/Makefile
-include closingd/test/Makefile
2 changes: 1 addition & 1 deletion contrib/pylightning/lightning/lightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _readobj(self, sock):
objs, _ = self.decoder.raw_decode(buff.decode("UTF-8"))
return objs
except ValueError:
# Probably didn't read enough
# Probably didn't read enough
pass

def __getattr__(self, name):
Expand Down
2 changes: 1 addition & 1 deletion devtools/bolt11-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static char *fmt_time(const tal_t *ctx, u64 time)

return tal_fmt(ctx, "%.*s", (int)strcspn(p, "\n"), p);
}

int main(int argc, char *argv[])
{
const tal_t *ctx = tal(NULL, char);
Expand Down
2 changes: 1 addition & 1 deletion onchaind/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ clean: onchaind-clean
onchaind-clean:
$(RM) $(LIGHTNINGD_ONCHAIN_OBJS) onchaind/gen_*

-include onchaind/test/Makefile
-include onchaind/test/Makefile
2 changes: 1 addition & 1 deletion openingd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ clean: opening-clean
opening-clean:
$(RM) $(LIGHTNINGD_OPENING_OBJS) openingd/gen_*

-include openingd/test/Makefile
-include openingd/test/Makefile
4 changes: 2 additions & 2 deletions tools/generate-wire.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def is_assignable(self):

def has_array_helper(self):
return self.fieldtype.has_array_helper()

# Returns FieldType
@staticmethod
def _guess_type(message, fieldname, base_size):
Expand Down Expand Up @@ -267,7 +267,7 @@ def print_fromwire(self,is_header):
ctx_arg = 'const tal_t *ctx, ' if self.has_variable_fields else ''

args = []

for f in self.fields:
if f.is_len_var or f.is_padding():
continue
Expand Down
2 changes: 1 addition & 1 deletion tools/mockup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ for SYMBOL; do
echo "/* Could not find declaration for $SYMBOL */"
continue
fi

echo "/* Generated stub for $SYMBOL */"
FILE=${WHERE%%:*}
FILE_AND_LINE=${WHERE%:*}
Expand Down

0 comments on commit 0353ec0

Please sign in to comment.