You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: eclair-core/src/main/scala/fr/acinq/eclair/wire/protocol/OfferTypes.scala
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -314,6 +314,10 @@ object OfferTypes {
314
314
Right(Offer(records))
315
315
}
316
316
317
+
/**
318
+
* An offer string can be split with '+' to fit in places with a low character limit. This validates that the string adheres to the spec format to guard against copy-pasting errors.
319
+
* @return a lowercase string with '+' and whitespaces removed
0 commit comments