OffchainLabs / go-ethereum

GNU Lesser General Public License v3.0
54 stars 94 forks source link

ethdb/pebble: don't double-close iterator inside pebbleIterator #273

Closed magicxyyz closed 9 months ago

magicxyyz commented 9 months ago

Adds released flag to pebbleIterator to avoid double closing cockroachdb/pebble.Iterator as it is an invalid operation.

This PR backports: https://github.com/ethereum/go-ethereum/pull/28566 Fixes: https://github.com/ethereum/go-ethereum/issues/28565