update daemon url, remove redundant brackets around jsonrpc params
This commit is contained in:
parent
d160710d20
commit
82561e3aaf
2 changed files with 4 additions and 4 deletions
|
@ -1 +1 @@
|
|||
https://github.com/lbryio/lbry/releases/download/v0.10.1rc2/lbrynet-daemon-v0.10.1rc2-OSNAME.zip
|
||||
https://github.com/lbryio/lbry/releases/download/v0.10.2/lbrynet-daemon-v0.10.2-OSNAME.zip
|
||||
|
|
|
@ -95,7 +95,7 @@ let lbry = {
|
|||
};
|
||||
|
||||
lbry.call = function (method, params, callback, errorCallback, connectFailedCallback) {
|
||||
jsonrpc.call(lbry.daemonConnectionString, method, [params], callback, errorCallback, connectFailedCallback);
|
||||
jsonrpc.call(lbry.daemonConnectionString, method, params, callback, errorCallback, connectFailedCallback);
|
||||
}
|
||||
|
||||
//core
|
||||
|
@ -679,7 +679,7 @@ lbry.settings_get = function(params={}) {
|
|||
// lbry.get = function(params={}) {
|
||||
// return function(params={}) {
|
||||
// return new Promise((resolve, reject) => {
|
||||
// jsonrpc.call(lbry.daemonConnectionString, "get", [params], resolve, reject, reject);
|
||||
// jsonrpc.call(lbry.daemonConnectionString, "get", params, resolve, reject, reject);
|
||||
// });
|
||||
// };
|
||||
// }
|
||||
|
@ -692,7 +692,7 @@ lbry = new Proxy(lbry, {
|
|||
|
||||
return function(params={}) {
|
||||
return new Promise((resolve, reject) => {
|
||||
jsonrpc.call(lbry.daemonConnectionString, name, [params], resolve, reject, reject);
|
||||
jsonrpc.call(lbry.daemonConnectionString, name, params, resolve, reject, reject);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue