{"action":"created","issue":{"url":"https://api.github.com/repos/bitpay/bitcore/issues/1099","labels_url":"https://api.github.com/repos/bitpay/bitcore/issues/1099/labels{/name}","comments_url":"https://api.github.com/repos/bitpay/bitcore/issues/1099/comments","events_url":"https://api.github.com/repos/bitpay/bitcore/issues/1099/events","html_url":"https://github.com/bitpay/bitcore/issues/1099","id":58311293,"number":1099,"title":"Transaction `getFee()` and `_getUnspentValue()` returns 0 incorrectly","user":{"login":"braydonf","id":544777,"avatar_url":"https://avatars.githubusercontent.com/u/544777?v=3","gravatar_id":"","url":"https://api.github.com/users/braydonf","html_url":"https://github.com/braydonf","followers_url":"https://api.github.com/users/braydonf/followers","following_url":"https://api.github.com/users/braydonf/following{/other_user}","gists_url":"https://api.github.com/users/braydonf/gists{/gist_id}","starred_url":"https://api.github.com/users/braydonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braydonf/subscriptions","organizations_url":"https://api.github.com/users/braydonf/orgs","repos_url":"https://api.github.com/users/braydonf/repos","events_url":"https://api.github.com/users/braydonf/events{/privacy}","received_events_url":"https://api.github.com/users/braydonf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-20T05:15:56Z","updated_at":"2015-02-21T16:18:52Z","closed_at":null,"body":"```javascript\r\nvar tx2 = new bitcore.Transaction(tx1.serialize());\r\nconsole.log(tx2._getUnspentValue());\r\n```\r\nReturns 0 when it should return a value."},"comment":{"url":"https://api.github.com/repos/bitpay/bitcore/issues/comments/75378696","html_url":"https://github.com/bitpay/bitcore/issues/1099#issuecomment-75378696","issue_url":"https://api.github.com/repos/bitpay/bitcore/issues/1099","id":75378696,"user":{"login":"braydonf","id":544777,"avatar_url":"https://avatars.githubusercontent.com/u/544777?v=3","gravatar_id":"","url":"https://api.github.com/users/braydonf","html_url":"https://github.com/braydonf","followers_url":"https://api.github.com/users/braydonf/followers","following_url":"https://api.github.com/users/braydonf/following{/other_user}","gists_url":"https://api.github.com/users/braydonf/gists{/gist_id}","starred_url":"https://api.github.com/users/braydonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braydonf/subscriptions","organizations_url":"https://api.github.com/users/braydonf/orgs","repos_url":"https://api.github.com/users/braydonf/repos","events_url":"https://api.github.com/users/braydonf/events{/privacy}","received_events_url":"https://api.github.com/users/braydonf/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T16:18:52Z","updated_at":"2015-02-21T16:18:52Z","body":"Supporting this via toObject and fromObject should accommodate those needs."}}