File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
modules/core/src/commonMain/kotlin/fr/acinq/lightning Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments