mirror of https://github.com/ethereum/go-ethereum
core/rawdb: no need to run truncateFile for readonly mode (#28145)
Avoid truncating files, if ancients are opened in readonly mode. With this change, we return error instead of trying (and failing) to repairpull/28172/head^2
parent
5b9cbe30f8
commit
545f4c5547
Loading…
Reference in new issue