Merge branch 'patch-1' of https://github.com/shimondoodkin/node-bitcoin into shimondoodkin-patch-1

This commit is contained in:
freewil 2014-03-12 14:43:22 -07:00
commit 145cef5885

View File

@ -135,7 +135,7 @@ Client.prototype.call = function(method, params, callback, errback, path) {
}
} else if (decodedResponse.hasOwnProperty('result')) {
if (callback) {
callback(decodedResponse.result);
callback(decodedResponse.result,response.headers);
}
} else {
if (errback) {