-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Milestone
Description
Description
After upgrading to v4.6.0 RPC calls broken
/path/to/electrum stop
/path/to/electrum daemon -d
/path/to/electrum load_wallet -w /home/harry/.electrum/wallets/wallet_1
{
"id": "curltext",
"method": "listaddresses",
"params": {
"wallet": "/home/harry/.electrum/wallets/wallet_1",
"receiving": true,
"unused": true
}
}
response:
{
"id": "curltext",
"jsonrpc": "2.0",
"error": {
"code": 2,
"message": "internal error while executing RPC",
"data": {
"exception": "AttributeError(\"'str' object has no attribute 'get_addresses'\")",
"traceback": "Traceback (most recent call last):\n File \"/home/harry/cliapps/electrum/lib/python3.11/site-packages/electrum/daemon.py\", line 266, in handle\n response['result'] = await f(**params)\n ^^^^^^^^^^^^^^^^^\n File \"/home/harry/cliapps/electrum/lib/python3.11/site-packages/electrum/commands.py\", line 194, in func_wrapper\n return await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/harry/cliapps/electrum/lib/python3.11/site-packages/electrum/commands.py\", line 1164, in listaddresses\n for addr in wallet.get_addresses():\n ^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'str' object has no attribute 'get_addresses'\n"
}
}
}
Metadata
Metadata
Assignees
Labels
No labels