diff --git a/node/src/main/scala/com/wavesplatform/state/Blockchain.scala b/node/src/main/scala/com/wavesplatform/state/Blockchain.scala index 605df34459..db5cd5af83 100644 --- a/node/src/main/scala/com/wavesplatform/state/Blockchain.scala +++ b/node/src/main/scala/com/wavesplatform/state/Blockchain.scala @@ -237,14 +237,5 @@ object Blockchain { } .fold(1)(_ => BlockRewardCalculator.RewardBoost) - def unitIsApproved(dApp: AddressOrAlias): Boolean = - blockchain.resolveAlias(dApp).toOption.forall { chainContractAddress => - blockchain.settings.functionalitySettings.unitsRegistryAddressParsed.toOption.flatten.forall { addr => - blockchain.accountData(addr, s"unit_${chainContractAddress.toString}_approved") match { - case Some(BooleanDataEntry(_, value)) => value - case _ => false - } - } - } } }