{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/13074","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/13074/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/13074/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/13074/events","html_url":"https://github.com/bitcoin/bitcoin/pull/13074","id":317739933,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg0MTIxNzAw","number":13074,"title":"[trivial] Correct help text for `importaddress` RPC","user":{"login":"jnewbery","id":1063656,"node_id":"MDQ6VXNlcjEwNjM2NTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1063656?v=4","gravatar_id":"","url":"https://api.github.com/users/jnewbery","html_url":"https://github.com/jnewbery","followers_url":"https://api.github.com/users/jnewbery/followers","following_url":"https://api.github.com/users/jnewbery/following{/other_user}","gists_url":"https://api.github.com/users/jnewbery/gists{/gist_id}","starred_url":"https://api.github.com/users/jnewbery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnewbery/subscriptions","organizations_url":"https://api.github.com/users/jnewbery/orgs","repos_url":"https://api.github.com/users/jnewbery/repos","events_url":"https://api.github.com/users/jnewbery/events{/privacy}","received_events_url":"https://api.github.com/users/jnewbery/received_events","type":"User","site_admin":false},"labels":[{"id":148216,"node_id":"MDU6TGFiZWwxNDgyMTY=","url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Docs","name":"Docs","color":"02d7e1","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-25T18:18:46Z","updated_at":"2018-07-19T21:36:58Z","closed_at":"2018-07-19T21:35:29Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/13074","html_url":"https://github.com/bitcoin/bitcoin/pull/13074","diff_url":"https://github.com/bitcoin/bitcoin/pull/13074.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/13074.patch"},"body":"Help text for `importaddress` referred to the first parameter as `script`, when in fact it's `address`. Calling with a script argument fails:\r\n\r\n```\r\n→ bcli -named importaddress script=2N3qhMpHK8WNo7wv87W9eHMgvGyJU1593Ei\r\nerror code: -8\r\nerror message:\r\nUnknown named parameter script\r\n→ bcli -named importaddress address=2N3qhMpHK8WNo7wv87W9eHMgvGyJU1593Ei\r\n# success!\r\n```"},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/406422064","html_url":"https://github.com/bitcoin/bitcoin/pull/13074#issuecomment-406422064","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/13074","id":406422064,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjQyMjA2NA==","user":{"login":"MarcoFalke","id":6399679,"node_id":"MDQ6VXNlcjYzOTk2Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/6399679?v=4","gravatar_id":"","url":"https://api.github.com/users/MarcoFalke","html_url":"https://github.com/MarcoFalke","followers_url":"https://api.github.com/users/MarcoFalke/followers","following_url":"https://api.github.com/users/MarcoFalke/following{/other_user}","gists_url":"https://api.github.com/users/MarcoFalke/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoFalke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoFalke/subscriptions","organizations_url":"https://api.github.com/users/MarcoFalke/orgs","repos_url":"https://api.github.com/users/MarcoFalke/repos","events_url":"https://api.github.com/users/MarcoFalke/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoFalke/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T21:36:58Z","updated_at":"2018-07-19T21:36:58Z","author_association":"MEMBER","body":"utACK 2c71edc2fc52cfc3a0b401f8d5d051c8938c150e"}}
{"actor":{"display_login":"MarcoFalke"}}