Update apiInterfaces.js

This commit is contained in:
Interchained
2021-01-04 14:23:24 -05:00
committed by GitHub
parent f57f3df054
commit 3441c5276a

View File

@@ -45,7 +45,6 @@ function jsonHttpRequest (host, port, data, callback, path) {
req.on('error', function (e) {
callback(e, {});
});
req.end(data);
}
@@ -64,7 +63,7 @@ function rpc (host, port, method, params, callback) {
callback(error, {});
return;
}
callback(replyJson.error, replyJson.result)
callback(replyJson.error, replyJson.result);
});
}