Skip to content

Commit

Permalink
Initialize using singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejbak85 committed Oct 26, 2020
1 parent e9269a2 commit 388094c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/iog/psg/cardano/CardanoApiMain.scala
Expand Up @@ -98,7 +98,7 @@ object CardanoApiMain {

trace(s"baseurl:$url")

val api = new CardanoApiImpl(url)
val api = CardanoApi(url)

if (hasArgument(CmdLine.netInfo)) {
unwrap[CardanoApiCodec.NetworkInfo](api.networkInfo.executeBlocking, trace(_))
Expand Down

0 comments on commit 388094c

Please sign in to comment.