From 156b895fb68e20de796a2e296a659297f4c28057 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Sun, 26 Jan 2025 19:28:51 +0100 Subject: [PATCH] Add createrune info for v24.11 (#1847) --- wallets/cln/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wallets/cln/index.js b/wallets/cln/index.js index dc8523d1..2e9eec71 100644 --- a/wallets/cln/index.js +++ b/wallets/cln/index.js @@ -21,7 +21,12 @@ export const fields = [ name: 'rune', label: 'invoice only rune', help: { - text: 'We only accept runes that *only* allow `method=invoice`.\nRun this to generate one:\n\n```lightning-cli createrune restrictions=\'["method=invoice"]\'```' + text: 'We only accept runes that *only* allow `method=invoice`.\n\n' + + 'Run this if you are on v23.08 to generate one:\n\n' + + '```lightning-cli createrune restrictions=\'["method=invoice"]\'```\n\n' + + 'Or this if you are on v24.11 or later:\n\n' + + '```lightning-cli createrune restrictions=\'[["method=invoice"]]\'```\n\n' + + '[see `createrune` documentation](https://docs.corelightning.org/reference/lightning-createrune#restriction-format)' }, type: 'text', placeholder: 'S34KtUW-6gqS_hD_9cc_PNhfF-NinZyBOCgr1aIrark9NCZtZXRob2Q9aW52b2ljZQ==',