From 2292b5910e3e33709ca19cd1e032bb9206f9de36 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 24 Apr 2019 08:23:10 -0700 Subject: [PATCH] doc: correct getClusterNodes() summary --- web3.js/src/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3.js/src/connection.js b/web3.js/src/connection.js index 7705d6b007..f116745d50 100644 --- a/web3.js/src/connection.js +++ b/web3.js/src/connection.js @@ -385,7 +385,7 @@ export class Connection { } /** - * Fetch the current slot leader of the cluster + * Return the list of nodes that are currently participating in the cluster */ async getClusterNodes(): Promise> { const unsafeRes = await this._rpcRequest('getClusterNodes', []);