{"action":"created","comment":{"url":"https://api.github.com/repos/status-im/status-go/pulls/comments/125809572","pull_request_review_id":48232908,"id":125809572,"diff_hunk":"@@ -64,6 +66,27 @@ type FirebaseConfig struct {\n \tNotificationTriggerURL string\n }\n \n+// ReadAuthorizationKeyFile reads and loads FCM authorization key\n+func (c *FirebaseConfig) ReadAuthorizationKeyFile() ([]byte, error) {\n+\tif len(c.AuthorizationKeyFile) <= 0 {\n+\t\treturn nil, ErrEmptyAuthorizationKeyFile\n+\t}\n+\n+\tkey, err := ioutil.ReadFile(c.AuthorizationKeyFile)\n+\tif err != nil {\n+\t\treturn nil, err\n+\t}\n+\tkey = bytes.TrimRight(key, \"\\n\")\n+\n+\tif key == nil {","path":"geth/params/config.go","position":25,"original_position":25,"commit_id":"702a15ec6412440c01818945144b35fb6ed4314e","original_commit_id":"702a15ec6412440c01818945144b35fb6ed4314e","user":{"login":"influx6","id":131629,"avatar_url":"https://avatars1.githubusercontent.com/u/131629?v=3","gravatar_id":"","url":"https://api.github.com/users/influx6","html_url":"https://github.com/influx6","followers_url":"https://api.github.com/users/influx6/followers","following_url":"https://api.github.com/users/influx6/following{/other_user}","gists_url":"https://api.github.com/users/influx6/gists{/gist_id}","starred_url":"https://api.github.com/users/influx6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influx6/subscriptions","organizations_url":"https://api.github.com/users/influx6/orgs","repos_url":"https://api.github.com/users/influx6/repos","events_url":"https://api.github.com/users/influx6/events{/privacy}","received_events_url":"https://api.github.com/users/influx6/received_events","type":"User","site_admin":false},"body":"Sure. Sounds good.","created_at":"2017-07-06T04:33:11Z","updated_at":"2017-07-06T04:33:11Z","html_url":"https://github.com/status-im/status-go/pull/191#discussion_r125809572","pull_request_url":"https://api.github.com/repos/status-im/status-go/pulls/191","_links":{"self":{"href":"https://api.github.com/repos/status-im/status-go/pulls/comments/125809572"},"html":{"href":"https://github.com/status-im/status-go/pull/191#discussion_r125809572"},"pull_request":{"href":"https://api.github.com/repos/status-im/status-go/pulls/191"}}},"pull_request":{"url":"https://api.github.com/repos/status-im/status-go/pulls/191","id":128967839,"html_url":"https://github.com/status-im/status-go/pull/191","diff_url":"https://github.com/status-im/status-go/pull/191.diff","patch_url":"https://github.com/status-im/status-go/pull/191.patch","issue_url":"https://api.github.com/repos/status-im/status-go/issues/191","number":191,"state":"open","locked":false,"title":"Add http enable flag for Node","user":{"login":"influx6","id":131629,"avatar_url":"https://avatars1.githubusercontent.com/u/131629?v=3","gravatar_id":"","url":"https://api.github.com/users/influx6","html_url":"https://github.com/influx6","followers_url":"https://api.github.com/users/influx6/followers","following_url":"https://api.github.com/users/influx6/following{/other_user}","gists_url":"https://api.github.com/users/influx6/gists{/gist_id}","starred_url":"https://api.github.com/users/influx6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influx6/subscriptions","organizations_url":"https://api.github.com/users/influx6/orgs","repos_url":"https://api.github.com/users/influx6/repos","events_url":"https://api.github.com/users/influx6/events{/privacy}","received_events_url":"https://api.github.com/users/influx6/received_events","type":"User","site_admin":false},"body":"PR adds a flag to the `params.NodeConfig` which enables us define the state whether the internal rpc server initiated by the `ethereum.Node` instance, except when the flag is enabled and also is set to false by default.\r\n\r\n\r\nRelated to issue #177.","created_at":"2017-07-05T13:50:38Z","updated_at":"2017-07-06T04:33:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b870cf783f05a572001632d03549a232ec963574","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/status-im/status-go/pulls/191/commits","review_comments_url":"https://api.github.com/repos/status-im/status-go/pulls/191/comments","review_comment_url":"https://api.github.com/repos/status-im/status-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/status-im/status-go/issues/191/comments","statuses_url":"https://api.github.com/repos/status-im/status-go/statuses/702a15ec6412440c01818945144b35fb6ed4314e","head":{"label":"status-im:issue/177","ref":"issue/177","sha":"702a15ec6412440c01818945144b35fb6ed4314e","user":{"login":"status-im","id":11767950,"avatar_url":"https://avatars2.githubusercontent.com/u/11767950?v=3","gravatar_id":"","url":"https://api.github.com/users/status-im","html_url":"https://github.com/status-im","followers_url":"https://api.github.com/users/status-im/followers","following_url":"https://api.github.com/users/status-im/following{/other_user}","gists_url":"https://api.github.com/users/status-im/gists{/gist_id}","starred_url":"https://api.github.com/users/status-im/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/status-im/subscriptions","organizations_url":"https://api.github.com/users/status-im/orgs","repos_url":"https://api.github.com/users/status-im/repos","events_url":"https://api.github.com/users/status-im/events{/privacy}","received_events_url":"https://api.github.com/users/status-im/received_events","type":"Organization","site_admin":false},"repo":{"id":61047867,"name":"status-go","full_name":"status-im/status-go","owner":{"login":"status-im","id":11767950,"avatar_url":"https://avatars2.githubusercontent.com/u/11767950?v=3","gravatar_id":"","url":"https://api.github.com/users/status-im","html_url":"https://github.com/status-im","followers_url":"https://api.github.com/users/status-im/followers","following_url":"https://api.github.com/users/status-im/following{/other_user}","gists_url":"https://api.github.com/users/status-im/gists{/gist_id}","starred_url":"https://api.github.com/users/status-im/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/status-im/subscriptions","organizations_url":"https://api.github.com/users/status-im/orgs","repos_url":"https://api.github.com/users/status-im/repos","events_url":"https://api.github.com/users/status-im/events{/privacy}","received_events_url":"https://api.github.com/users/status-im/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/status-im/status-go","description":"The Status module that consumes go-ethereum","fork":false,"url":"https://api.github.com/repos/status-im/status-go","forks_url":"https://api.github.com/repos/status-im/status-go/forks","keys_url":"https://api.github.com/repos/status-im/status-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/status-im/status-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/status-im/status-go/teams","hooks_url":"https://api.github.com/repos/status-im/status-go/hooks","issue_events_url":"https://api.github.com/repos/status-im/status-go/issues/events{/number}","events_url":"https://api.github.com/repos/status-im/status-go/events","assignees_url":"https://api.github.com/repos/status-im/status-go/assignees{/user}","branches_url":"https://api.github.com/repos/status-im/status-go/branches{/branch}","tags_url":"https://api.github.com/repos/status-im/status-go/tags","blobs_url":"https://api.github.com/repos/status-im/status-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/status-im/status-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/status-im/status-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/status-im/status-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/status-im/status-go/statuses/{sha}","languages_url":"https://api.github.com/repos/status-im/status-go/languages","stargazers_url":"https://api.github.com/repos/status-im/status-go/stargazers","contributors_url":"https://api.github.com/repos/status-im/status-go/contributors","subscribers_url":"https://api.github.com/repos/status-im/status-go/subscribers","subscription_url":"https://api.github.com/repos/status-im/status-go/subscription","commits_url":"https://api.github.com/repos/status-im/status-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/status-im/status-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/status-im/status-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/status-im/status-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/status-im/status-go/contents/{+path}","compare_url":"https://api.github.com/repos/status-im/status-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/status-im/status-go/merges","archive_url":"https://api.github.com/repos/status-im/status-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/status-im/status-go/downloads","issues_url":"https://api.github.com/repos/status-im/status-go/issues{/number}","pulls_url":"https://api.github.com/repos/status-im/status-go/pulls{/number}","milestones_url":"https://api.github.com/repos/status-im/status-go/milestones{/number}","notifications_url":"https://api.github.com/repos/status-im/status-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/status-im/status-go/labels{/name}","releases_url":"https://api.github.com/repos/status-im/status-go/releases{/id}","deployments_url":"https://api.github.com/repos/status-im/status-go/deployments","created_at":"2016-06-13T15:32:03Z","updated_at":"2017-07-05T20:46:38Z","pushed_at":"2017-07-05T13:59:47Z","git_url":"git://github.com/status-im/status-go.git","ssh_url":"git@github.com:status-im/status-go.git","clone_url":"https://github.com/status-im/status-go.git","svn_url":"https://github.com/status-im/status-go","homepage":"https://status.im","size":19040,"stargazers_count":114,"watchers_count":114,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":40,"forks":23,"open_issues":40,"watchers":114,"default_branch":"develop"}},"base":{"label":"status-im:develop","ref":"develop","sha":"b3a56eb00b97d853edcbcb4fb2cf8803fe7a0370","user":{"login":"status-im","id":11767950,"avatar_url":"https://avatars2.githubusercontent.com/u/11767950?v=3","gravatar_id":"","url":"https://api.github.com/users/status-im","html_url":"https://github.com/status-im","followers_url":"https://api.github.com/users/status-im/followers","following_url":"https://api.github.com/users/status-im/following{/other_user}","gists_url":"https://api.github.com/users/status-im/gists{/gist_id}","starred_url":"https://api.github.com/users/status-im/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/status-im/subscriptions","organizations_url":"https://api.github.com/users/status-im/orgs","repos_url":"https://api.github.com/users/status-im/repos","events_url":"https://api.github.com/users/status-im/events{/privacy}","received_events_url":"https://api.github.com/users/status-im/received_events","type":"Organization","site_admin":false},"repo":{"id":61047867,"name":"status-go","full_name":"status-im/status-go","owner":{"login":"status-im","id":11767950,"avatar_url":"https://avatars2.githubusercontent.com/u/11767950?v=3","gravatar_id":"","url":"https://api.github.com/users/status-im","html_url":"https://github.com/status-im","followers_url":"https://api.github.com/users/status-im/followers","following_url":"https://api.github.com/users/status-im/following{/other_user}","gists_url":"https://api.github.com/users/status-im/gists{/gist_id}","starred_url":"https://api.github.com/users/status-im/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/status-im/subscriptions","organizations_url":"https://api.github.com/users/status-im/orgs","repos_url":"https://api.github.com/users/status-im/repos","events_url":"https://api.github.com/users/status-im/events{/privacy}","received_events_url":"https://api.github.com/users/status-im/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/status-im/status-go","description":"The Status module that consumes go-ethereum","fork":false,"url":"https://api.github.com/repos/status-im/status-go","forks_url":"https://api.github.com/repos/status-im/status-go/forks","keys_url":"https://api.github.com/repos/status-im/status-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/status-im/status-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/status-im/status-go/teams","hooks_url":"https://api.github.com/repos/status-im/status-go/hooks","issue_events_url":"https://api.github.com/repos/status-im/status-go/issues/events{/number}","events_url":"https://api.github.com/repos/status-im/status-go/events","assignees_url":"https://api.github.com/repos/status-im/status-go/assignees{/user}","branches_url":"https://api.github.com/repos/status-im/status-go/branches{/branch}","tags_url":"https://api.github.com/repos/status-im/status-go/tags","blobs_url":"https://api.github.com/repos/status-im/status-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/status-im/status-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/status-im/status-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/status-im/status-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/status-im/status-go/statuses/{sha}","languages_url":"https://api.github.com/repos/status-im/status-go/languages","stargazers_url":"https://api.github.com/repos/status-im/status-go/stargazers","contributors_url":"https://api.github.com/repos/status-im/status-go/contributors","subscribers_url":"https://api.github.com/repos/status-im/status-go/subscribers","subscription_url":"https://api.github.com/repos/status-im/status-go/subscription","commits_url":"https://api.github.com/repos/status-im/status-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/status-im/status-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/status-im/status-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/status-im/status-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/status-im/status-go/contents/{+path}","compare_url":"https://api.github.com/repos/status-im/status-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/status-im/status-go/merges","archive_url":"https://api.github.com/repos/status-im/status-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/status-im/status-go/downloads","issues_url":"https://api.github.com/repos/status-im/status-go/issues{/number}","pulls_url":"https://api.github.com/repos/status-im/status-go/pulls{/number}","milestones_url":"https://api.github.com/repos/status-im/status-go/milestones{/number}","notifications_url":"https://api.github.com/repos/status-im/status-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/status-im/status-go/labels{/name}","releases_url":"https://api.github.com/repos/status-im/status-go/releases{/id}","deployments_url":"https://api.github.com/repos/status-im/status-go/deployments","created_at":"2016-06-13T15:32:03Z","updated_at":"2017-07-05T20:46:38Z","pushed_at":"2017-07-05T13:59:47Z","git_url":"git://github.com/status-im/status-go.git","ssh_url":"git@github.com:status-im/status-go.git","clone_url":"https://github.com/status-im/status-go.git","svn_url":"https://github.com/status-im/status-go","homepage":"https://status.im","size":19040,"stargazers_count":114,"watchers_count":114,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":40,"forks":23,"open_issues":40,"watchers":114,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/status-im/status-go/pulls/191"},"html":{"href":"https://github.com/status-im/status-go/pull/191"},"issue":{"href":"https://api.github.com/repos/status-im/status-go/issues/191"},"comments":{"href":"https://api.github.com/repos/status-im/status-go/issues/191/comments"},"review_comments":{"href":"https://api.github.com/repos/status-im/status-go/pulls/191/comments"},"review_comment":{"href":"https://api.github.com/repos/status-im/status-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/status-im/status-go/pulls/191/commits"},"statuses":{"href":"https://api.github.com/repos/status-im/status-go/statuses/702a15ec6412440c01818945144b35fb6ed4314e"}}}}
{"actor":{"display_login":"influx6"}}