{"action":"created","issue":{"url":"https://api.github.com/repos/fyookball/electrum/issues/766","repository_url":"https://api.github.com/repos/fyookball/electrum","labels_url":"https://api.github.com/repos/fyookball/electrum/issues/766/labels{/name}","comments_url":"https://api.github.com/repos/fyookball/electrum/issues/766/comments","events_url":"https://api.github.com/repos/fyookball/electrum/issues/766/events","html_url":"https://github.com/fyookball/electrum/issues/766","id":336838280,"node_id":"MDU6SXNzdWUzMzY4MzgyODA=","number":766,"title":"payment request fails - payment requests are not working at the moment","user":{"login":"ser","id":231537,"node_id":"MDQ6VXNlcjIzMTUzNw==","avatar_url":"https://avatars0.githubusercontent.com/u/231537?v=4","gravatar_id":"","url":"https://api.github.com/users/ser","html_url":"https://github.com/ser","followers_url":"https://api.github.com/users/ser/followers","following_url":"https://api.github.com/users/ser/following{/other_user}","gists_url":"https://api.github.com/users/ser/gists{/gist_id}","starred_url":"https://api.github.com/users/ser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ser/subscriptions","organizations_url":"https://api.github.com/users/ser/orgs","repos_url":"https://api.github.com/users/ser/repos","events_url":"https://api.github.com/users/ser/events{/privacy}","received_events_url":"https://api.github.com/users/ser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cculianu","id":266627,"node_id":"MDQ6VXNlcjI2NjYyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/266627?v=4","gravatar_id":"","url":"https://api.github.com/users/cculianu","html_url":"https://github.com/cculianu","followers_url":"https://api.github.com/users/cculianu/followers","following_url":"https://api.github.com/users/cculianu/following{/other_user}","gists_url":"https://api.github.com/users/cculianu/gists{/gist_id}","starred_url":"https://api.github.com/users/cculianu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cculianu/subscriptions","organizations_url":"https://api.github.com/users/cculianu/orgs","repos_url":"https://api.github.com/users/cculianu/repos","events_url":"https://api.github.com/users/cculianu/events{/privacy}","received_events_url":"https://api.github.com/users/cculianu/received_events","type":"User","site_admin":false},"assignees":[{"login":"cculianu","id":266627,"node_id":"MDQ6VXNlcjI2NjYyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/266627?v=4","gravatar_id":"","url":"https://api.github.com/users/cculianu","html_url":"https://github.com/cculianu","followers_url":"https://api.github.com/users/cculianu/followers","following_url":"https://api.github.com/users/cculianu/following{/other_user}","gists_url":"https://api.github.com/users/cculianu/gists{/gist_id}","starred_url":"https://api.github.com/users/cculianu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cculianu/subscriptions","organizations_url":"https://api.github.com/users/cculianu/orgs","repos_url":"https://api.github.com/users/cculianu/repos","events_url":"https://api.github.com/users/cculianu/events{/privacy}","received_events_url":"https://api.github.com/users/cculianu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":21,"created_at":"2018-06-29T02:07:52Z","updated_at":"2018-07-11T15:25:02Z","closed_at":null,"author_association":"NONE","body":"Payload to send to Electrum:\r\n\r\n```{'params': {'amount': 0.0021651117760957575, 'expiration': 1212}, 'method': 'addrequest', 'id': 'c6cf406e-0c4b-4eb7-b3d2-1712a4d3a553'}```\r\n\r\nData received back from Electrum:\r\n\r\n```{'error': {'message': 'Invalid parameters: string argument without an encoding', 'code': -32602}, 'result': None, 'id': '2fd03026-d1ba-49c0-b781-dd30ee758c8d'}```\r\n\r\nThis but looks similar to https://github.com/spesmilo/electrum/issues/3411 but it is not that simple, as with that patch electron-cash says:\r\n\r\n```{'error': {'message': 'Invalid parameters: b\\'\\\\xfc\\\\\\'w|.W\\\\xeb\\\\xd5\\\\xa3u\\\\x8a\\\\xc3\\\\x81v\\\\x91\\\\x7f\\\\x9c\"\\\\xa7\\\\xd1\\' is not JSON serializable', 'code': -32602}, 'result': None, 'id': '9e20dac3-52ac-4ace-b2c2-51f5cf2087b6'}```\r\n\r\nIt looks roots of this issue are much deeper, unfortunately.\r\n"},"comment":{"url":"https://api.github.com/repos/fyookball/electrum/issues/comments/404210379","html_url":"https://github.com/fyookball/electrum/issues/766#issuecomment-404210379","issue_url":"https://api.github.com/repos/fyookball/electrum/issues/766","id":404210379,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDIxMDM3OQ==","user":{"login":"rnbrady","id":625766,"node_id":"MDQ6VXNlcjYyNTc2Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/625766?v=4","gravatar_id":"","url":"https://api.github.com/users/rnbrady","html_url":"https://github.com/rnbrady","followers_url":"https://api.github.com/users/rnbrady/followers","following_url":"https://api.github.com/users/rnbrady/following{/other_user}","gists_url":"https://api.github.com/users/rnbrady/gists{/gist_id}","starred_url":"https://api.github.com/users/rnbrady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnbrady/subscriptions","organizations_url":"https://api.github.com/users/rnbrady/orgs","repos_url":"https://api.github.com/users/rnbrady/repos","events_url":"https://api.github.com/users/rnbrady/events{/privacy}","received_events_url":"https://api.github.com/users/rnbrady/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T15:25:02Z","updated_at":"2018-07-11T15:25:02Z","author_association":"NONE","body":"@marceloneil my point is that you need certs configured in order to reproduce this bug. \r\n\r\nFrom a quick search the error `string argument without an encoding` seems to come from using the `bytearray()` function incorrectly. In `paymentrequest.py` all the uses of that function seem to be inside methods dealing with certs and sigs."}}
{"actor":{"display_login":"rnbrady"}}