diff --git a/build.sbt b/build.sbt index 7b191ef..0d26573 100644 --- a/build.sbt +++ b/build.sbt @@ -3,9 +3,9 @@ enablePlugins(NativeImagePlugin) name := "cliche" organization := "fiatjaf" scalaVersion := "2.13.8" -version := "0.4.6-SNAPSHOT" +version := "0.4.6" libraryDependencies ++= Seq( - "com.fiatjaf" % "immortan_2.13" % "0.7.4-SNAPSHOT", + "com.fiatjaf" % "immortan_2.13" % "0.7.5", "com.github.alexarchambault" % "case-app_2.13" % "2.1.0-M13", "com.lihaoyi" % "requests_2.13" % "0.7.0", "com.iheart" % "ficus_2.13" % "1.5.0", diff --git a/src/main/scala/Main.scala b/src/main/scala/Main.scala index 0bb887a..93934dd 100644 --- a/src/main/scala/Main.scala +++ b/src/main/scala/Main.scala @@ -54,7 +54,7 @@ import immortan.utils.{ WalletEventsCatcher, WalletEventsListener } -import immortan.crypto.Tools.{~, none, Any2Some} +import immortan.crypto.Tools.{~, none} import utils.RequestsConnectionProvider import scala.concurrent.duration.FiniteDuration @@ -226,7 +226,7 @@ object Main extends IOApp.Simple { } override def onChainMasterSelected(addr: InetSocketAddress): Unit = - currentChainNode = addr.asSome + currentChainNode = Some(addr) override def onChainDisconnected(): Unit = currentChainNode = None