diff --git a/node/src/test/scala/com/wavesplatform/db/TestUtxPool.scala b/node/src/test/scala/com/wavesplatform/db/TestUtxPool.scala index b77dcc8ff1a..4fb67c12883 100644 --- a/node/src/test/scala/com/wavesplatform/db/TestUtxPool.scala +++ b/node/src/test/scala/com/wavesplatform/db/TestUtxPool.scala @@ -4,8 +4,14 @@ import com.wavesplatform.state.{Blockchain, Diff} import com.wavesplatform.utils.Time import com.wavesplatform.utx.UtxPoolImpl -class TestUtxPool(time: Time, blockchain: Blockchain, utxSettings: UtxSettings, isMiningEnabled: Boolean, beforeSetPriorityDiffs: () => Unit) - extends UtxPoolImpl(time, blockchain, utxSettings, isMiningEnabled) { +class TestUtxPool( + time: Time, + blockchain: Blockchain, + utxSettings: UtxSettings, + maxTxErrorLogSize: Int, + isMiningEnabled: Boolean, + beforeSetPriorityDiffs: () => Unit +) extends UtxPoolImpl(time, blockchain, utxSettings, maxTxErrorLogSize, isMiningEnabled) { override def setPriorityDiffs(discDiffs: Seq[Diff]): Unit = { beforeSetPriorityDiffs() diff --git a/node/src/test/scala/com/wavesplatform/history/Domain.scala b/node/src/test/scala/com/wavesplatform/history/Domain.scala index 65a5f56c2c0..eef3a965b85 100644 --- a/node/src/test/scala/com/wavesplatform/history/Domain.scala +++ b/node/src/test/scala/com/wavesplatform/history/Domain.scala @@ -58,7 +58,7 @@ case class Domain( def createDiffE(tx: Transaction): Either[ValidationError, Diff] = transactionDiffer(tx).resultE def createDiff(tx: Transaction): Diff = createDiffE(tx).explicitGet() - lazy val utxPool = + lazy val utxPool = new TestUtxPool(SystemTime, blockchain, settings.utxSettings, settings.maxTxErrorLogSize, settings.minerSettings.enable, beforeSetPriorityDiffs) lazy val wallet: Wallet = Wallet(settings.walletSettings.copy(file = None))