diff --git a/BUILD.md b/BUILD.md index 29d432c1fb..23f7d64c0c 100644 --- a/BUILD.md +++ b/BUILD.md @@ -94,6 +94,6 @@ To make local development and testing easier, SNAPSHOT dependencies are not veri To re-create the trusted checksums file, run: ```shell -$ rm ~/.m2/wrapper ~/.sbt -rf +$ rm -Rf ~/.m2/wrapper ~/.sbt $ ./mvnw clean install -DskipTests -Daether.artifactResolver.postProcessor.trustedChecksums.record ``` diff --git a/eclair-core/src/main/scala/fr/acinq/eclair/wire/protocol/FailureMessage.scala b/eclair-core/src/main/scala/fr/acinq/eclair/wire/protocol/FailureMessage.scala index 652cf4dff8..563fcce0ae 100644 --- a/eclair-core/src/main/scala/fr/acinq/eclair/wire/protocol/FailureMessage.scala +++ b/eclair-core/src/main/scala/fr/acinq/eclair/wire/protocol/FailureMessage.scala @@ -193,9 +193,9 @@ object FailureMessageCodecs { /** * An onion-encrypted failure from an intermediate node: - * +----------------+----------------------------------+-----------------+----------------------+-----+ + * * | HMAC(32 bytes) | failure message length (2 bytes) | failure message | pad length (2 bytes) | pad | - * +----------------+----------------------------------+-----------------+----------------------+-----+ + * * Bolt 4: SHOULD set pad such that the failure_len plus pad_len is equal to 256: by always using the same size we * ensure error messages are indistinguishable. */