{"action":"created","issue":{"url":"https://api.github.com/repos/decred/dcrwallet/issues/521","repository_url":"https://api.github.com/repos/decred/dcrwallet","labels_url":"https://api.github.com/repos/decred/dcrwallet/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/decred/dcrwallet/issues/521/comments","events_url":"https://api.github.com/repos/decred/dcrwallet/issues/521/events","html_url":"https://github.com/decred/dcrwallet/issues/521","id":199959385,"number":521,"title":"balance reporting discrepancy causes error","user":{"login":"raedah","id":15878246,"avatar_url":"https://avatars1.githubusercontent.com/u/15878246?v=3","gravatar_id":"","url":"https://api.github.com/users/raedah","html_url":"https://github.com/raedah","followers_url":"https://api.github.com/users/raedah/followers","following_url":"https://api.github.com/users/raedah/following{/other_user}","gists_url":"https://api.github.com/users/raedah/gists{/gist_id}","starred_url":"https://api.github.com/users/raedah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raedah/subscriptions","organizations_url":"https://api.github.com/users/raedah/orgs","repos_url":"https://api.github.com/users/raedah/repos","events_url":"https://api.github.com/users/raedah/events{/privacy}","received_events_url":"https://api.github.com/users/raedah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-01-10T23:07:28Z","updated_at":"2017-06-04T02:00:37Z","closed_at":null,"body":"ticketbuyer is reporting a higher spendable balance,\r\n`15:00:16 2017-01-10 [DBG] TKBY: Current spendable balance at height 245054 for account 'default': 333.91656516 DCR`\r\n\r\nref: https://github.com/decred/dcrwallet/blob/master/ticketbuyer/buyer.go#L365-L369\r\n\r\nthen what dcrctl shows,\r\n```\r\n> getbalance\r\n22.59846163\r\n\r\n```\r\nBecause of this, ticketbuyer is trying to purchase tickets with the funds. \r\nDcrwallet strangely gives this error, when something about not enough funds is expected.\r\n\r\n```\r\n14:57:27 2017-01-10 [ERR] TKBY: Failed to purchase tickets this round: -22: TX rejected: orphan transaction 08ec1639a2adad70fb20777257e5a2b8de029c5cff950806ecec2994dea47693 references outputs\r\nof unknown or fully-spent transaction 1629e656fe12bda7ebf048d5b2a83bc60bad3977de4f46478f00598b206c9f03\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/decred/dcrwallet/issues/comments/306012601","html_url":"https://github.com/decred/dcrwallet/issues/521#issuecomment-306012601","issue_url":"https://api.github.com/repos/decred/dcrwallet/issues/521","id":306012601,"user":{"login":"raedah","id":15878246,"avatar_url":"https://avatars1.githubusercontent.com/u/15878246?v=3","gravatar_id":"","url":"https://api.github.com/users/raedah","html_url":"https://github.com/raedah","followers_url":"https://api.github.com/users/raedah/followers","following_url":"https://api.github.com/users/raedah/following{/other_user}","gists_url":"https://api.github.com/users/raedah/gists{/gist_id}","starred_url":"https://api.github.com/users/raedah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raedah/subscriptions","organizations_url":"https://api.github.com/users/raedah/orgs","repos_url":"https://api.github.com/users/raedah/repos","events_url":"https://api.github.com/users/raedah/events{/privacy}","received_events_url":"https://api.github.com/users/raedah/received_events","type":"User","site_admin":false},"created_at":"2017-06-04T02:00:37Z","updated_at":"2017-06-04T02:00:37Z","body":"This is likely a variation of https://github.com/decred/dcrwallet/issues/776"}}
{"actor":{"display_login":"raedah"}}