{"action":"closed","issue":{"url":"https://api.github.com/repos/lightningnetwork/lnd/issues/985","repository_url":"https://api.github.com/repos/lightningnetwork/lnd","labels_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/985/labels{/name}","comments_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/985/comments","events_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/985/events","html_url":"https://github.com/lightningnetwork/lnd/issues/985","id":310233088,"node_id":"MDU6SXNzdWUzMTAyMzMwODg=","number":985,"title":"Wrong error message on paying 0 value invoices","user":{"login":"littleskunk","id":6333390,"node_id":"MDQ6VXNlcjYzMzMzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6333390?v=4","gravatar_id":"","url":"https://api.github.com/users/littleskunk","html_url":"https://github.com/littleskunk","followers_url":"https://api.github.com/users/littleskunk/followers","following_url":"https://api.github.com/users/littleskunk/following{/other_user}","gists_url":"https://api.github.com/users/littleskunk/gists{/gist_id}","starred_url":"https://api.github.com/users/littleskunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/littleskunk/subscriptions","organizations_url":"https://api.github.com/users/littleskunk/orgs","repos_url":"https://api.github.com/users/littleskunk/repos","events_url":"https://api.github.com/users/littleskunk/events{/privacy}","received_events_url":"https://api.github.com/users/littleskunk/received_events","type":"User","site_admin":false},"labels":[{"id":431228518,"node_id":"MDU6TGFiZWw0MzEyMjg1MTg=","url":"https://api.github.com/repos/lightningnetwork/lnd/labels/beginner","name":"beginner","color":"d4c5f9","default":false},{"id":814605954,"node_id":"MDU6TGFiZWw4MTQ2MDU5NTQ=","url":"https://api.github.com/repos/lightningnetwork/lnd/labels/good%20first%20issue","name":"good first issue","color":"4dc647","default":true},{"id":778128862,"node_id":"MDU6TGFiZWw3NzgxMjg4NjI=","url":"https://api.github.com/repos/lightningnetwork/lnd/labels/payments","name":"payments","color":"f754c6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-03-31T11:11:49Z","updated_at":"2018-06-14T01:56:04Z","closed_at":"2018-06-14T01:56:04Z","author_association":"CONTRIBUTOR","body":"### Background\r\n\r\nWrong error message.\r\n\r\n### Your environment\r\n\r\n* lncli version 0.4\r\n* LXC Debian Jessie\r\n* Bitcoin Core RPC client version v0.16.0\r\n\r\n### Steps to reproduce\r\n\r\n>Invoices without an amount can be created by not supplying any parameters or providing an amount of 0. These invoices allow the payee to specify the amount of satoshis they wish to send.\r\n> `lncli addinvoice --help`\r\n\r\nA friend creates a 0 value invoice `lncli addinvoice --memo 'Test' --amt 0`\r\n\r\nI try to pay that invoice `lncli payinvoice --pay_req ...`\r\n\r\n\r\n### Expected behaviour\r\n\r\nError message telling me that the invoice has no value. Please add --amt value.\r\n`lncli payinvoice --pay_req ... --amt 1`\r\n\r\n### Actual behaviour\r\n\r\nWrong error message\r\n```\r\n{\r\n        \"payment_error\": \"unable to find a path to destination\",\r\n        \"payment_preimage\": \"\",\r\n        \"payment_route\": null\r\n}\r\n```"}}
{"actor":{"display_login":"Roasbeef"}}