plugins
plugins copied to clipboard
summary: Error while processing summary: 'Plugin' object has no attribute 'persist'"
OS: Ubuntu 22.04 Python 3.10.4
Summary plugin errors when run:
{
"code": -32600,
"message": "Error while processing summary: 'Plugin' object has no attribute 'persist'",
"traceback": "Traceback (most recent call last):\n File \"/home/user/.local/lib/python3.10/site-packages/pyln/client/plugin.py\", line 631, in _dispatch_request\n result = self._exec_func(method.func, request)\n File \"/home/user/.local/lib/python3.10/site-packages/pyln/client/plugin.py\", line 613, in _exec_func\n return func(*ba.args, **ba.kwargs)\n File \"/path/to/summary.py\", line 128, in summary\n addpeer(plugin, p)\n File \"/path/to/summary_avail.py\", line 7, in addpeer\n if pid not in p.persist['peerstate']:\nAttributeError: 'Plugin' object has no attribute 'persist'\n"
}