Skip to content

Commit cc75b13

Browse files
authored
Nits (#3183)
1 parent 56a3acd commit cc75b13

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

BUILD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,6 @@ To make local development and testing easier, SNAPSHOT dependencies are not veri
9494
To re-create the trusted checksums file, run:
9595

9696
```shell
97-
$ rm ~/.m2/wrapper ~/.sbt -rf
97+
$ rm -Rf ~/.m2/wrapper ~/.sbt
9898
$ ./mvnw clean install -DskipTests -Daether.artifactResolver.postProcessor.trustedChecksums.record
9999
```

eclair-core/src/main/scala/fr/acinq/eclair/wire/protocol/FailureMessage.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ object FailureMessageCodecs {
193193

194194
/**
195195
* An onion-encrypted failure from an intermediate node:
196-
* +----------------+----------------------------------+-----------------+----------------------+-----+
196+
*
197197
* | HMAC(32 bytes) | failure message length (2 bytes) | failure message | pad length (2 bytes) | pad |
198-
* +----------------+----------------------------------+-----------------+----------------------+-----+
198+
*
199199
* Bolt 4: SHOULD set pad such that the failure_len plus pad_len is equal to 256: by always using the same size we
200200
* ensure error messages are indistinguishable.
201201
*/

0 commit comments

Comments
 (0)