diff --git a/CHANGELOG.md b/CHANGELOG.md index 382fa2ef..f5f1df06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,24 @@ # go-graphsync changelog +# go-graphsync 0.9.3 + +Hotfix for 0.9.2 + +### Changelog + +- github.com/ipfs/go-graphsync: + - fix(impl): use correct allocator + +### Contributors + +| Contributor | Commits | Lines ± | Files Changed | +|-------------|---------|---------|---------------| +| hannahhoward | 1 | +1/-1 | 1 | + # go-graphsync 0.9.2 +DO NOT USE: Contains bug + Minor bug fix and thread unblock ### Changelog diff --git a/impl/graphsync.go b/impl/graphsync.go index aee464be..cb9dae69 100644 --- a/impl/graphsync.go +++ b/impl/graphsync.go @@ -341,7 +341,7 @@ func (gsr *graphSyncReceiver) ReceiveMessage( totalMemoryAllocated += uint64(len(blk.RawData())) } select { - case <-gsr.graphSync().responseAllocator.AllocateBlockMemory(sender, totalMemoryAllocated): + case <-gsr.graphSync().requestAllocator.AllocateBlockMemory(sender, totalMemoryAllocated): case <-gsr.ctx.Done(): } gsr.graphSync().requestManager.ProcessResponses(sender, incoming.Responses(), incoming.Blocks())