From 990638081e103da4322bd3fa17dcf6e288e775d3 Mon Sep 17 00:00:00 2001 From: Sergey Nazarov Date: Wed, 11 Dec 2024 19:18:25 +0300 Subject: [PATCH] Non-interruptible lock acquisition --- .../scala/com/wavesplatform/state/BlockchainUpdaterImpl.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/main/scala/com/wavesplatform/state/BlockchainUpdaterImpl.scala b/node/src/main/scala/com/wavesplatform/state/BlockchainUpdaterImpl.scala index 46a381d035..b02bf0befc 100644 --- a/node/src/main/scala/com/wavesplatform/state/BlockchainUpdaterImpl.scala +++ b/node/src/main/scala/com/wavesplatform/state/BlockchainUpdaterImpl.scala @@ -47,7 +47,7 @@ class BlockchainUpdaterImpl( import wavesSettings.blockchainSettings.functionalitySettings private def inLock[R](l: Lock, f: => R): R = { - l.lockInterruptibly() + l.lock() try f finally l.unlock() }