From dabe28f36c0027283fa53b9e483325682be85d3c Mon Sep 17 00:00:00 2001 From: fluency03 Date: Sat, 5 May 2018 18:18:57 +0200 Subject: [PATCH] fix block pool routes --- .../fluency03/blockchain/api/routes/BlockPoolRoutes.scala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/scala/com/github/fluency03/blockchain/api/routes/BlockPoolRoutes.scala b/src/main/scala/com/github/fluency03/blockchain/api/routes/BlockPoolRoutes.scala index 28ca5ec..a055787 100644 --- a/src/main/scala/com/github/fluency03/blockchain/api/routes/BlockPoolRoutes.scala +++ b/src/main/scala/com/github/fluency03/blockchain/api/routes/BlockPoolRoutes.scala @@ -2,16 +2,14 @@ package com.github.fluency03.blockchain.api.routes import akka.actor.ActorRef import akka.event.Logging -import akka.http.scaladsl.server.Directives.{path, _} +import akka.http.scaladsl.server.Directives._ import akka.http.scaladsl.server.Route import akka.http.scaladsl.server.directives.MethodDirectives.{delete, get, post} -import akka.http.scaladsl.server.directives.PathDirectives.path import akka.http.scaladsl.server.directives.RouteDirectives.complete import akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.CsvSeq import akka.pattern.ask import com.github.fluency03.blockchain.api.{Blocks, Input, Message} import com.github.fluency03.blockchain.api.actors.BlockPoolActor._ -import com.github.fluency03.blockchain.api.actors.BlockchainActor import com.github.fluency03.blockchain.core.{Block, Transaction} import scala.concurrent.Future