← Code LabNode.js0/50 solved · 0%
Web3 · hard

40. Multi-RPC Aggregator

Pick the result with the most occurrences (consensus).

Write `getConsensus(results)`.
Required in your answer: counts[r]sort