diff --git a/server/app/com/xsn/explorer/models/TransactionVIN.scala b/server/app/com/xsn/explorer/models/rpc/TransactionVIN.scala similarity index 82% rename from server/app/com/xsn/explorer/models/TransactionVIN.scala rename to server/app/com/xsn/explorer/models/rpc/TransactionVIN.scala index 8e4c047..5ba919d 100644 --- a/server/app/com/xsn/explorer/models/TransactionVIN.scala +++ b/server/app/com/xsn/explorer/models/rpc/TransactionVIN.scala @@ -1,5 +1,6 @@ -package com.xsn.explorer.models +package com.xsn.explorer.models.rpc +import com.xsn.explorer.models.TransactionId import play.api.libs.functional.syntax._ import play.api.libs.json.{Reads, __} diff --git a/server/app/com/xsn/explorer/services/logic/TransactionLogic.scala b/server/app/com/xsn/explorer/services/logic/TransactionLogic.scala index 61ef135..30d7187 100644 --- a/server/app/com/xsn/explorer/services/logic/TransactionLogic.scala +++ b/server/app/com/xsn/explorer/services/logic/TransactionLogic.scala @@ -2,8 +2,8 @@ package com.xsn.explorer.services.logic import com.alexitc.playsonify.core.ApplicationResult import com.alexitc.playsonify.models.ApplicationError -import com.xsn.explorer.models.rpc.Transaction -import com.xsn.explorer.models.{Address, TransactionVIN, TransactionVOUT} +import com.xsn.explorer.models.rpc.{Transaction, TransactionVIN} +import com.xsn.explorer.models.{Address, TransactionVOUT} import org.scalactic.{One, Or} class TransactionLogic { diff --git a/server/test/controllers/BlocksControllerSpec.scala b/server/test/controllers/BlocksControllerSpec.scala index d26a202..edb74cf 100644 --- a/server/test/controllers/BlocksControllerSpec.scala +++ b/server/test/controllers/BlocksControllerSpec.scala @@ -5,7 +5,7 @@ import com.alexitc.playsonify.core.FutureApplicationResult import com.xsn.explorer.errors.{BlockNotFoundError, TransactionNotFoundError} import com.xsn.explorer.helpers.{DataHelper, DummyXSNService} import com.xsn.explorer.models._ -import com.xsn.explorer.models.rpc.{Block, Transaction} +import com.xsn.explorer.models.rpc.{Block, Transaction, TransactionVIN} import com.xsn.explorer.services.XSNService import controllers.common.MyAPISpec import org.scalactic.{Bad, Good} diff --git a/server/test/controllers/TransactionsControllerSpec.scala b/server/test/controllers/TransactionsControllerSpec.scala index 01fc286..87f4918 100644 --- a/server/test/controllers/TransactionsControllerSpec.scala +++ b/server/test/controllers/TransactionsControllerSpec.scala @@ -5,7 +5,7 @@ import com.alexitc.playsonify.core.FutureApplicationResult import com.xsn.explorer.errors.TransactionNotFoundError import com.xsn.explorer.helpers.{DataHelper, DummyXSNService} import com.xsn.explorer.models._ -import com.xsn.explorer.models.rpc.Transaction +import com.xsn.explorer.models.rpc.{Transaction, TransactionVIN} import com.xsn.explorer.services.XSNService import controllers.common.MyAPISpec import org.scalactic.{Bad, Good}