Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/rewrite address api #126

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adjust code format
  • Loading branch information
young-work-young committed Aug 29, 2019
commit 0d65c695746c7490a9350955e758eee9a02d5ea6
5 changes: 1 addition & 4 deletions src/main/scala/vsys/api/http/TransactionsApiRoute.scala
Original file line number Diff line number Diff line change
@@ -17,8 +17,7 @@ import vsys.blockchain.transaction.{Transaction, ProcessedTransaction}
import vsys.blockchain.UtxPool
import vsys.settings.{RestAPISettings, StateSettings}

import scala.util.{Try, Success}

import scala.util.Success
import scala.util.control.Exception

@Path("/transactions")
@@ -85,8 +84,6 @@ case class TransactionsApiRoute(

private val invalidTxType = StatusCodes.BadRequest -> Json.obj("message" -> "invalid.txType")



@Path("/list")
@ApiOperation(value = "List",
notes = "Get list of transactions where specified address has been involved. *This is a custom api, you need to enable it in configuration file.*",