From 884a09d8f62e9b03a1dc1b253c308c22bd7234d7 Mon Sep 17 00:00:00 2001 From: Sunny Gleason Date: Tue, 15 Oct 2019 16:06:18 -0400 Subject: [PATCH] feat: add optional rootSlot parameter (#528) --- web3.js/src/connection.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web3.js/src/connection.js b/web3.js/src/connection.js index bec9c24f14..b9334c24f8 100644 --- a/web3.js/src/connection.js +++ b/web3.js/src/connection.js @@ -259,6 +259,7 @@ const GetVoteAccounts = jsonRpcResult( epochVoteAccount: 'boolean', commission: 'number', lastVote: 'number', + rootSlot: 'number?', }), ]), delinquent: struct.list([ @@ -269,6 +270,7 @@ const GetVoteAccounts = jsonRpcResult( epochVoteAccount: 'boolean', commission: 'number', lastVote: 'number', + rootSlot: 'number?', }), ]), }),