mirror of https://github.com/ethereum/go-ethereum
all: assign zero after resize in implementations of heap.Interface (#26296)
This changes the Pop method to assign the zero value before reducing slice size. Doing so ensures the backing array does not reference removed item values.pull/26308/head
parent
10347c6b54
commit
06632da2bb
Loading…
Reference in new issue