diff --git a/build.sbt b/build.sbt index c0317ef88..d4e818535 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val commonSettings = Seq( scalacOptions ++= commonScalacOptions, scalaVersion := "2.12.13", organization := "org.ergoplatform", - version := "7.1.1", + version := "7.1.3", resolvers += Resolver.sonatypeRepo("public"), resolvers += Resolver.sonatypeRepo("snapshots"), libraryDependencies ++= dependencies.Testing ++ dependencies.CompilerPlugins, diff --git a/modules/explorer-core/src/main/scala/org/ergoplatform/explorer/db/queries/OutputQuerySet.scala b/modules/explorer-core/src/main/scala/org/ergoplatform/explorer/db/queries/OutputQuerySet.scala index 72f76113e..93bfacda2 100644 --- a/modules/explorer-core/src/main/scala/org/ergoplatform/explorer/db/queries/OutputQuerySet.scala +++ b/modules/explorer-core/src/main/scala/org/ergoplatform/explorer/db/queries/OutputQuerySet.scala @@ -126,7 +126,6 @@ object OutputQuerySet extends QuerySet { sql""" |select coalesce(cast(sum(o.value) as bigint), 0) |from node_outputs o - |left join node_inputs i on o.box_id = i.box_id and i.main_chain = true |left join node_transactions tx on tx.id = o.tx_id |where tx.main_chain = true | and tx.inclusion_height <= $maxHeight