Skip to content

Commit

Permalink
Minor SQL improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
oskin1 committed Feb 27, 2021
1 parent 25237ee commit f41f844
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f41f844

Please sign in to comment.