{"action":"created","issue":{"url":"https://api.github.com/repos/lightningnetwork/lnd/issues/928","repository_url":"https://api.github.com/repos/lightningnetwork/lnd","labels_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/928/labels{/name}","comments_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/928/comments","events_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/928/events","html_url":"https://github.com/lightningnetwork/lnd/pull/928","id":307909908,"number":928,"title":"docs: encode macaroon in python grpc example","user":{"login":"adrienemery","id":4293818,"avatar_url":"https://avatars3.githubusercontent.com/u/4293818?v=4","gravatar_id":"","url":"https://api.github.com/users/adrienemery","html_url":"https://github.com/adrienemery","followers_url":"https://api.github.com/users/adrienemery/followers","following_url":"https://api.github.com/users/adrienemery/following{/other_user}","gists_url":"https://api.github.com/users/adrienemery/gists{/gist_id}","starred_url":"https://api.github.com/users/adrienemery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrienemery/subscriptions","organizations_url":"https://api.github.com/users/adrienemery/orgs","repos_url":"https://api.github.com/users/adrienemery/repos","events_url":"https://api.github.com/users/adrienemery/events{/privacy}","received_events_url":"https://api.github.com/users/adrienemery/received_events","type":"User","site_admin":false},"labels":[{"id":484610526,"url":"https://api.github.com/repos/lightningnetwork/lnd/labels/documentation","name":"documentation","color":"bfdadc","default":false},{"id":678416147,"url":"https://api.github.com/repos/lightningnetwork/lnd/labels/macaroons","name":"macaroons","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-23T05:47:22Z","updated_at":"2018-03-29T21:01:52Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/928","html_url":"https://github.com/lightningnetwork/lnd/pull/928","diff_url":"https://github.com/lightningnetwork/lnd/pull/928.diff","patch_url":"https://github.com/lightningnetwork/lnd/pull/928.patch"},"body":"In this PR, we fix incorrect usage of `decode` where it should have been `encode` when converting a macaroon from binary to hex. Also include `import codec` so the macaroon reading example can be copied pasted directly.\r\n\r\nSorry for typos in previous PR :)"},"comment":{"url":"https://api.github.com/repos/lightningnetwork/lnd/issues/comments/377370183","html_url":"https://github.com/lightningnetwork/lnd/pull/928#issuecomment-377370183","issue_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/928","id":377370183,"user":{"login":"adrienemery","id":4293818,"avatar_url":"https://avatars3.githubusercontent.com/u/4293818?v=4","gravatar_id":"","url":"https://api.github.com/users/adrienemery","html_url":"https://github.com/adrienemery","followers_url":"https://api.github.com/users/adrienemery/followers","following_url":"https://api.github.com/users/adrienemery/following{/other_user}","gists_url":"https://api.github.com/users/adrienemery/gists{/gist_id}","starred_url":"https://api.github.com/users/adrienemery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrienemery/subscriptions","organizations_url":"https://api.github.com/users/adrienemery/orgs","repos_url":"https://api.github.com/users/adrienemery/repos","events_url":"https://api.github.com/users/adrienemery/events{/privacy}","received_events_url":"https://api.github.com/users/adrienemery/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T20:57:58Z","updated_at":"2018-03-29T20:57:58Z","author_association":"CONTRIBUTOR","body":"@cfromknecht are you saying that the macaroon does not need to be hex encoded?"}}
{"actor":{"display_login":"adrienemery"}}