Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: solana-labs/solana-web3.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.47.0
Choose a base ref
...
head repository: solana-labs/solana-web3.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.47.1
Choose a head ref
  • 1 commit
  • 1 file changed
  • 2 contributors

Commits on Jul 1, 2022

  1. fix: web3.js; maxRetries no longer stripped when zero (#26345)

    Co-authored-by: Mark D <83738282+markusmark1@users.noreply.github.com>
    Mark-777-0 and Mark-777-0 authored Jul 1, 2022
    Copy the full SHA
    ea9dffa View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/connection.ts
2 changes: 1 addition & 1 deletion src/connection.ts
Original file line number Diff line number Diff line change
@@ -4442,7 +4442,7 @@ export class Connection {
const preflightCommitment =
(options && options.preflightCommitment) || this.commitment;

if (options && options.maxRetries) {
if (options && options.maxRetries != null) {
config.maxRetries = options.maxRetries;
}
if (options && options.minContextSlot != null) {