This commit is contained in:
Carlos López 2025-02-26 11:42:37 +00:00 committed by GitHub
commit 4341aacd84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,7 +97,7 @@ public class BlockChain extends AbstractBlockChain {
} }
@Override @Override
protected void rollbackBlockStore(int height) throws BlockStoreException { public void rollbackBlockStore(int height) throws BlockStoreException {
lock.lock(); lock.lock();
try { try {
int currentHeight = getBestChainHeight(); int currentHeight = getBestChainHeight();