Skip to content

Commit

Permalink
(Minor) Fix Features.toString (#1573)
Browse files Browse the repository at this point in the history
  • Loading branch information
pm47 authored Oct 19, 2020
1 parent b0716ae commit ad17683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclair-core/src/main/scala/fr/acinq/eclair/Features.scala
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ case class Features(activated: Set[ActivatedFeature], unknown: Set[UnknownFeatur
override def toString: String = {
val a = activated.map(f => f.feature.rfcName + ":" + f.support).mkString(",")
val u = unknown.map(_.bitIndex).mkString(",")
s"features=$a" + (if (unknown.nonEmpty) s" (unknown=$u)" else "")
s"$a" + (if (unknown.nonEmpty) s" (unknown=$u)" else "")
}
}

Expand Down

0 comments on commit ad17683

Please sign in to comment.