diff --git a/web3.js/src/connection.js b/web3.js/src/connection.js index 4843698ae..b6d161886 100644 --- a/web3.js/src/connection.js +++ b/web3.js/src/connection.js @@ -325,7 +325,7 @@ type LeaderSchedule = { const GetLeaderScheduleResult = struct.record([ 'string', - struct.array(['number']), + 'any', // validating struct.array(['number']) is extremely slow ]); /**