{"action":"opened","issue":{"url":"https://api.github.com/repos/interledgerjs/five-bells-ledger/issues/380","repository_url":"https://api.github.com/repos/interledgerjs/five-bells-ledger","labels_url":"https://api.github.com/repos/interledgerjs/five-bells-ledger/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/interledgerjs/five-bells-ledger/issues/380/comments","events_url":"https://api.github.com/repos/interledgerjs/five-bells-ledger/issues/380/events","html_url":"https://github.com/interledgerjs/five-bells-ledger/issues/380","id":193012811,"number":380,"title":"Duplicate notifications when sender and receiver of a transfer are the same","user":{"login":"justmoon","id":53233,"avatar_url":"https://avatars.githubusercontent.com/u/53233?v=3","gravatar_id":"","url":"https://api.github.com/users/justmoon","html_url":"https://github.com/justmoon","followers_url":"https://api.github.com/users/justmoon/followers","following_url":"https://api.github.com/users/justmoon/following{/other_user}","gists_url":"https://api.github.com/users/justmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/justmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justmoon/subscriptions","organizations_url":"https://api.github.com/users/justmoon/orgs","repos_url":"https://api.github.com/users/justmoon/repos","events_url":"https://api.github.com/users/justmoon/events{/privacy}","received_events_url":"https://api.github.com/users/justmoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-02T01:50:03Z","updated_at":"2016-12-02T01:50:03Z","closed_at":null,"body":"Log looks like this:\r\n\r\n```\r\n[ledger] 2016-12-02T01:26:41.351Z ledger:notificationBroadcaster debug emitting notification:{connie,connie}:transfer.create\r\n```\r\n\r\n`affectedAccounts` contains the same account name (`connie`) twice, so the notification just gets emitted twice.\r\n\r\nShould be fixed by deduplicating `affectedAccounts`."}}
{"actor":{"display_login":"justmoon"}}