Add createrune info for v24.11 (#1847)

This commit is contained in:
ekzyis 2025-01-26 19:28:51 +01:00 committed by GitHub
parent 53b8f6f956
commit 156b895fb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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==',