@solana/web3.js 1.37.0 → 1.37.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/web3.js",
3
- "version": "1.37.0",
3
+ "version": "1.37.1",
4
4
  "description": "Solana Javascript API",
5
5
  "keywords": [
6
6
  "api",
package/src/connection.ts CHANGED
@@ -4048,11 +4048,6 @@ export class Connection {
4048
4048
  let logs;
4049
4049
  if ('data' in res.error) {
4050
4050
  logs = res.error.data.logs;
4051
- if (logs && Array.isArray(logs)) {
4052
- const traceIndent = '\n ';
4053
- const logTrace = traceIndent + logs.join(traceIndent);
4054
- console.error(res.error.message, logTrace);
4055
- }
4056
4051
  }
4057
4052
  throw new SendTransactionError(
4058
4053
  'failed to send transaction: ' + res.error.message,