Change to get_n_service_nodes method

pull/313/head
Beaudan 6 years ago
parent 4330e48185
commit 923d7ffe27

@ -76,11 +76,18 @@ class LokiSnodeAPI {
} }
async initialiseRandomPool() { async initialiseRandomPool() {
const params = {
limit: 20,
fields: {
public_ip: true,
storage_port: true,
},
};
const result = await rpc( const result = await rpc(
`http://${window.seedNodeUrl}`, `http://${window.seedNodeUrl}`,
window.seedNodePort, window.seedNodePort,
'get_service_nodes', 'get_n_service_nodes',
{}, // Params params,
{}, // Options {}, // Options
'/json_rpc' // Seed request endpoint '/json_rpc' // Seed request endpoint
); );

Loading…
Cancel
Save