{"action":"opened","issue":{"url":"https://api.github.com/repos/ArkEcosystem/desktop-wallet/issues/842","repository_url":"https://api.github.com/repos/ArkEcosystem/desktop-wallet","labels_url":"https://api.github.com/repos/ArkEcosystem/desktop-wallet/issues/842/labels{/name}","comments_url":"https://api.github.com/repos/ArkEcosystem/desktop-wallet/issues/842/comments","events_url":"https://api.github.com/repos/ArkEcosystem/desktop-wallet/issues/842/events","html_url":"https://github.com/ArkEcosystem/desktop-wallet/issues/842","id":393659385,"node_id":"MDU6SXNzdWUzOTM2NTkzODU=","number":842,"title":"Transactions are sent to different peer","user":{"login":"zillionn","id":3462869,"node_id":"MDQ6VXNlcjM0NjI4Njk=","avatar_url":"https://avatars0.githubusercontent.com/u/3462869?v=4","gravatar_id":"","url":"https://api.github.com/users/zillionn","html_url":"https://github.com/zillionn","followers_url":"https://api.github.com/users/zillionn/followers","following_url":"https://api.github.com/users/zillionn/following{/other_user}","gists_url":"https://api.github.com/users/zillionn/gists{/gist_id}","starred_url":"https://api.github.com/users/zillionn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zillionn/subscriptions","organizations_url":"https://api.github.com/users/zillionn/orgs","repos_url":"https://api.github.com/users/zillionn/repos","events_url":"https://api.github.com/users/zillionn/events{/privacy}","received_events_url":"https://api.github.com/users/zillionn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-22T09:38:43Z","updated_at":"2018-12-22T09:38:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Platform (please complete the following information):**\r\n - macOS Mojave 10.14.2\r\n - Desktop Wallet 2.1.1\r\n\r\n**Describe the bug**\r\nI'm using custom peer `95.179.150.18:4003` and I'm pulling the data from it, but when I send a tx, it is sent to a different peer `167.114.29.34:4003`:\r\n\r\n<img width=\"846\" alt=\"1\" src=\"https://user-images.githubusercontent.com/3462869/50372772-5bf1df00-05dd-11e9-9a7b-ec279553bcf1.png\">\r\n<img width=\"862\" alt=\"2\" src=\"https://user-images.githubusercontent.com/3462869/50372776-62805680-05dd-11e9-8920-621d4a92b856.png\">\r\n<img width=\"928\" alt=\"3\" src=\"https://user-images.githubusercontent.com/3462869/50372777-64e2b080-05dd-11e9-831e-4b9bce7c16e9.png\">\r\n\r\nI believe the problem is with `alternativeWallet`, it's always set in `onBuilt` and it should be set only when using ARK Pay and choose a wallet from different network:\r\nhttps://github.com/ArkEcosystem/desktop-wallet/blob/c013b91f4e0c2b9907309ad4bb2937404b5c69bb/src/renderer/components/Transaction/TransactionModal.vue#L103-L107\r\nhttps://github.com/ArkEcosystem/desktop-wallet/blob/c013b91f4e0c2b9907309ad4bb2937404b5c69bb/src/renderer/components/Transaction/TransactionModal.vue#L129-L138\r\n\r\n**Expected behaviour**\r\nTo send the tx to the connected peer not select best/different peer.\r\n"}}
{"actor":{"display_login":"zillionn"}}