This repository has been archived by the owner on Feb 1, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Nil dereference while using SetSendDontHaves
This option is used by the benchmark to simulate the old bitswap comportement. This follows the same refactoring idea as done in 47b99b1. It was crashing since it was trying to access the `sendDontHaves` property of `bs.engine` but `bs.engine` is initialized right after the options are applied, not before.
- Loading branch information