Closed
Description
Adding restrictions to runes does not work although the response suggests it has been successful.
Steps to reproduce:
$ lightning-cli createrune
{
"rune": "rune0"
"unique_id": "26"
}
$ lightning-cli createrune -k "rune"="run0" "restrictions"="readonly"
{
"rune": "rune0restricted"
"unique_id": "26"
}
$ lightning-cli showrunes
{
"rune": "rune0"
"unique_id": "26",
"restrictions": [],
"restrictions_as_english": ""
},
It does not matter if the restriction is other than "readonly" or it already had other restrictions, new restrictions will not apply.
Running 25.02 but I think it started before, I just noticed now.