Skip to content

Commit

Permalink
fix: oom in bundlepool
Browse files Browse the repository at this point in the history
  • Loading branch information
irrun committed Jan 23, 2025
1 parent 4d23798 commit 25f1380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/txpool/bundlepool/bundlepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ func (p *BundlePool) reset(newHead *types.Header) {
}
}
if p.bundles[hash] != nil {
p.bundleHeap.Push(bundle)
heap.Push(&p.bundleHeap, bundle)
}
}
}
Expand Down

0 comments on commit 25f1380

Please sign in to comment.