{"action":"closed","issue":{"url":"https://api.github.com/repos/bitpay/bitcore-node/issues/281","labels_url":"https://api.github.com/repos/bitpay/bitcore-node/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/bitpay/bitcore-node/issues/281/comments","events_url":"https://api.github.com/repos/bitpay/bitcore-node/issues/281/events","html_url":"https://github.com/bitpay/bitcore-node/issues/281","id":109578673,"number":281,"title":"Error during CLI command","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":[{"url":"https://api.github.com/repos/bitpay/bitcore-node/labels/ready","name":"ready","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-02T21:53:43Z","updated_at":"2015-10-07T22:17:56Z","closed_at":"2015-10-07T22:17:56Z","body":"**Steps to reproduce:**\r\n\r\n1. Start up a node on livenet\r\n2. Run the command `bitcore-node call getTransaction 0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098`\r\n\r\n**Error message details:**\r\n```js\r\nMissing error handler on `socket`.\r\nError: Usage: daemon.getTransaction(txid, queryMempool, callback)\r\n    at Error (native)\r\n    at Bitcoin.getTransaction (/home/braydon/bitcore-node/lib/services/bitcoind.js:265:19)\r\n    at DB.getTransaction (/home/braydon/bitcore-node/lib/services/db.js:323:31)\r\n    at self.methodsMap.(anonymous function).fn (/home/braydon/bitcore-node/lib/services/web.js:117:23)\r\n    at WebService.socketMessageHandler (/home/braydon/bitcore-node/lib/services/web.js:228:40)\r\n    at Socket.emit (events.js:110:17)\r\n    at Socket.onevent (/home/braydon/bitcore-node/node_modules/socket.io/lib/socket.js:330:8)\r\n    at Socket.onpacket (/home/braydon/bitcore-node/node_modules/socket.io/lib/socket.js:290:12)\r\n    at Client.ondecoded (/home/braydon/bitcore-node/node_modules/socket.io/lib/client.js:193:14)\r\n    at Decoder.Emitter.emit (/home/braydon/bitcore-node/node_modules/socket.io/node_modules/socket.io-parser/node_modules/component-emitter/index.js:134:20)\r\n```"}}