mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-19 05:43:51 +01:00
Merge pull request #1356 from benthecarman/oops
This commit is contained in:
commit
001124a045
@ -409,7 +409,7 @@ class RoutesSpec
|
||||
|
||||
Get() ~> route ~> check {
|
||||
contentType shouldEqual `application/json`
|
||||
responseAs[String] shouldEqual s"""{"result":"${tx.txIdBE}","error":null}"""
|
||||
responseAs[String] shouldEqual s"""{"result":"${tx.txIdBE.hex}","error":null}"""
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ case class NodeRoutes(node: Node)(implicit system: ActorSystem)
|
||||
case Success(SendRawTransaction(tx)) =>
|
||||
complete {
|
||||
node.broadcastTransaction(tx).map { _ =>
|
||||
Server.httpSuccess(s"${tx.txIdBE}")
|
||||
Server.httpSuccess(s"${tx.txIdBE.hex}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user