Skip to content

Commit 1226ecc

Browse files
committed
Fixing documentation
1 parent eafc91f commit 1226ecc

File tree

1 file changed

+3
-4
lines changed
  • modules/core/src/commonMain/kotlin/fr/acinq/lightning

1 file changed

+3
-4
lines changed

modules/core/src/commonMain/kotlin/fr/acinq/lightning/NodeParams.kt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,10 @@ data class NodeParams(
282282
* spaces (e.g. bolt card)
283283
*
284284
* Each generated offer is unique, since a random nonce is used to generate the blindedPathSessionKey.
285-
* This offer will stay valid after restoring the seed on a different device: we will
286-
* automatically keep accepting payments for this offer.
287285
*
288-
* The caller must store the returned `OfferAndKey.privateKey.publicKey`,
289-
* and set/update the NodeParams.compactOfferKeys with the value.
286+
* The caller is responsible for storing the returned `OfferAndKey.privateKey.publicKey`.
287+
* Next time you start lightning-kmp, you must set the NodeParams.compactOfferKeys with this value.
288+
* It has been added to the set before returning, but lightning-kmp doesn't persist it.
290289
*
291290
* @return a compact offer and the private key that will sign invoices for this offer.
292291
*/

0 commit comments

Comments
 (0)