{"action":"created","issue":{"url":"https://api.github.com/repos/btcsuite/btcd/issues/1127","repository_url":"https://api.github.com/repos/btcsuite/btcd","labels_url":"https://api.github.com/repos/btcsuite/btcd/issues/1127/labels{/name}","comments_url":"https://api.github.com/repos/btcsuite/btcd/issues/1127/comments","events_url":"https://api.github.com/repos/btcsuite/btcd/issues/1127/events","html_url":"https://github.com/btcsuite/btcd/issues/1127","id":298503407,"number":1127,"title":"rpcclient: Use btcutil.Address type in all interfaces","user":{"login":"gracenoah","id":36455668,"avatar_url":"https://avatars0.githubusercontent.com/u/36455668?v=4","gravatar_id":"","url":"https://api.github.com/users/gracenoah","html_url":"https://github.com/gracenoah","followers_url":"https://api.github.com/users/gracenoah/followers","following_url":"https://api.github.com/users/gracenoah/following{/other_user}","gists_url":"https://api.github.com/users/gracenoah/gists{/gist_id}","starred_url":"https://api.github.com/users/gracenoah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gracenoah/subscriptions","organizations_url":"https://api.github.com/users/gracenoah/orgs","repos_url":"https://api.github.com/users/gracenoah/repos","events_url":"https://api.github.com/users/gracenoah/events{/privacy}","received_events_url":"https://api.github.com/users/gracenoah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-20T08:09:50Z","updated_at":"2018-03-05T08:33:36Z","closed_at":null,"author_association":"NONE","body":"Right now ImportAddress and some other functions take address as a string while ListUnspentMinMaxAddressesAsync and most other functions take it as btcutil.Address.\r\n\r\nEverything function should take btcutil.Address in its interface for type safety.\r\n\r\nSee also \r\n* https://github.com/btcsuite/btcd/blob/fe786c93b6f4e0c96d6b19157b72963a9b50293d/rpcclient/wallet.go\r\n* https://github.com/btcsuite/btcutil/blob/fd898ec77a5fdc8feac21487fe115fcdbc67cf7b/address.go#L105"},"comment":{"url":"https://api.github.com/repos/btcsuite/btcd/issues/comments/370345070","html_url":"https://github.com/btcsuite/btcd/issues/1127#issuecomment-370345070","issue_url":"https://api.github.com/repos/btcsuite/btcd/issues/1127","id":370345070,"user":{"login":"stevenroose","id":853468,"avatar_url":"https://avatars0.githubusercontent.com/u/853468?v=4","gravatar_id":"","url":"https://api.github.com/users/stevenroose","html_url":"https://github.com/stevenroose","followers_url":"https://api.github.com/users/stevenroose/followers","following_url":"https://api.github.com/users/stevenroose/following{/other_user}","gists_url":"https://api.github.com/users/stevenroose/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenroose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenroose/subscriptions","organizations_url":"https://api.github.com/users/stevenroose/orgs","repos_url":"https://api.github.com/users/stevenroose/repos","events_url":"https://api.github.com/users/stevenroose/events{/privacy}","received_events_url":"https://api.github.com/users/stevenroose/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T08:33:35Z","updated_at":"2018-03-05T08:33:35Z","author_association":"CONTRIBUTOR","body":"I agree. I'll take this into account for my [gRPC implementation](https://github.com/btcsuite/btcd/pull/1075)."}}
{"actor":{"display_login":"stevenroose"}}