From 01d83c3a81c77f2bff1a1f9e84d1b9913ca95654 Mon Sep 17 00:00:00 2001 From: Vladimir Logachev Date: Fri, 15 Nov 2024 12:16:33 +0400 Subject: [PATCH] Remove more ficus code --- .../test/scala/com/wavesplatform/it/BaseTargetChecker.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-it/src/test/scala/com/wavesplatform/it/BaseTargetChecker.scala b/node-it/src/test/scala/com/wavesplatform/it/BaseTargetChecker.scala index 945e1d1439..578ce4b127 100644 --- a/node-it/src/test/scala/com/wavesplatform/it/BaseTargetChecker.scala +++ b/node-it/src/test/scala/com/wavesplatform/it/BaseTargetChecker.scala @@ -12,7 +12,7 @@ import com.wavesplatform.history.StorageFactory import com.wavesplatform.settings.* import com.wavesplatform.transaction.Asset.Waves import com.wavesplatform.utils.NTP -import net.ceedubs.ficus.Ficus.* +import pureconfig.ConfigSource object BaseTargetChecker { def main(args: Array[String]): Unit = { @@ -41,7 +41,7 @@ object BaseTargetChecker { blockchainUpdater.processBlock(genesisBlock, genesisBlock.header.generationSignature, None) NodeConfigs.Default.map(_.withFallback(sharedConfig)).collect { - case cfg if cfg.as[Boolean]("waves.miner.enable") => + case cfg if ConfigSource.fromConfig(cfg).at("waves.miner.enable").loadOrThrow[Boolean] => val account = KeyPair.fromSeed(cfg.getString("account-seed")).explicitGet() val address = account.toAddress val balance = blockchainUpdater.balance(address, Waves)