Merge branch 'patch-1' of https://github.com/shimondoodkin/node-bitcoin into shimondoodkin-patch-1
This commit is contained in:
commit
145cef5885
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user