{"action":"created","issue":{"url":"https://api.github.com/repos/bitpay/bitcore-node/issues/285","labels_url":"https://api.github.com/repos/bitpay/bitcore-node/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/bitpay/bitcore-node/issues/285/comments","events_url":"https://api.github.com/repos/bitpay/bitcore-node/issues/285/events","html_url":"https://github.com/bitpay/bitcore-node/issues/285","id":110053906,"number":285,"title":"Undefined error in a block page","user":{"login":"cmgustavo","id":237435,"avatar_url":"https://avatars.githubusercontent.com/u/237435?v=3","gravatar_id":"","url":"https://api.github.com/users/cmgustavo","html_url":"https://github.com/cmgustavo","followers_url":"https://api.github.com/users/cmgustavo/followers","following_url":"https://api.github.com/users/cmgustavo/following{/other_user}","gists_url":"https://api.github.com/users/cmgustavo/gists{/gist_id}","starred_url":"https://api.github.com/users/cmgustavo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmgustavo/subscriptions","organizations_url":"https://api.github.com/users/cmgustavo/orgs","repos_url":"https://api.github.com/users/cmgustavo/repos","events_url":"https://api.github.com/users/cmgustavo/events{/privacy}","received_events_url":"https://api.github.com/users/cmgustavo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T17:01:34Z","updated_at":"2015-10-06T17:07:16Z","closed_at":null,"body":"Opening this block with insight-ui: `000000000000000001e6ba26d1bba500d9cbd6fc30e853730376f20c1b7837e1` \r\n\r\nIt gives an error (and shutdown bitcore-node):\r\n\r\n```\r\n{bitcore-node} error: uncaught exception: [TypeError: undefined is not a function]\r\n{bitcore-node} error: TypeError: undefined is not a function\r\n    at TxController.transformOutput (/home/bitcoind/mynode/node_modules/insight-api/lib/transactions.js:179:30)\r\n    at /home/bitcoind/mynode/node_modules/insight-api/lib/transactions.js:85:12\r\n    at /home/bitcoind/mynode/node_modules/insight-api/node_modules/async/lib/async.js:358:13\r\n    at /home/bitcoind/mynode/node_modules/insight-api/node_modules/async/lib/async.js:239:13\r\n    at _arrayEach (/home/bitcoind/mynode/node_modules/insight-api/node_modules/async/lib/async.js:91:13)\r\n    at _each (/home/bitcoind/mynode/node_modules/insight-api/node_modules/async/lib/async.js:82:13)\r\n    at async.forEachOf.async.eachOf (/home/bitcoind/mynode/node_modules/insight-api/node_modules/async/lib/async.js:238:9)\r\n    at _asyncMap (/home/bitcoind/mynode/node_modules/insight-api/node_modules/async/lib/async.js:357:9)\r\n    at Object.map (/home/bitcoind/mynode/node_modules/insight-api/node_modules/async/lib/async.js:340:20)\r\n    at TxController.transformTransaction (/home/bitcoind/mynode/node_modules/insight-api/lib/transactions.js:80:9)\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bitpay/bitcore-node/issues/comments/145929595","html_url":"https://github.com/bitpay/bitcore-node/issues/285#issuecomment-145929595","issue_url":"https://api.github.com/repos/bitpay/bitcore-node/issues/285","id":145929595,"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-10-06T17:07:16Z","updated_at":"2015-10-06T17:07:16Z","body":"Current insight-ui and insight-api are build against the latest development version and requires a building bitcore-node. The `getInputForOutput()` method was recently added. The next build, available each Wednesday, will include this method."}}