diff --git a/js/services/rpc/sockcall.js b/js/services/rpc/sockcall.js index 3d2f9b1..43cbeb4 100644 --- a/js/services/rpc/sockcall.js +++ b/js/services/rpc/sockcall.js @@ -63,7 +63,7 @@ function(_, JSON, name, utils, alerts) { invoke: function(opts) { var data = { jsonrpc: 2.0, - id: name + '_' + utils.randStr(), + id: utils.uuid(), method: opts.name, params: opts.params && opts.params.length ? opts.params : undefined };