From 7b3bb0e10d8b95941fba6ff2defd1c7f528aee04 Mon Sep 17 00:00:00 2001 From: Sergey Nazarov Date: Fri, 13 Dec 2024 16:22:17 +0300 Subject: [PATCH] Non-interruptible lock acquisition (#3980) --- .../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() }