@solana/web3.js 1.47.1 → 1.47.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.cjs.js CHANGED
@@ -6644,9 +6644,7 @@ class Connection {
6644
6644
 
6645
6645
 
6646
6646
  async getRecentPerformanceSamples(limit) {
6647
- const args = this._buildArgs(limit ? [limit] : []);
6648
-
6649
- const unsafeRes = await this._rpcRequest('getRecentPerformanceSamples', args);
6647
+ const unsafeRes = await this._rpcRequest('getRecentPerformanceSamples', limit ? [limit] : []);
6650
6648
  const res = superstruct.create(unsafeRes, GetRecentPerformanceSamplesRpcResult);
6651
6649
 
6652
6650
  if ('error' in res) {