Skip to content

Commit 091ae16

Browse files
author
Evgeniya Tsybrenko
committed
DEX-994 fixed toString
1 parent 6300e12 commit 091ae16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dex-common/src/main/scala/com/wavesplatform/dex/api/http/entities/HttpLastTrade.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ package com.wavesplatform.dex.api.http.entities
22

33
import com.wavesplatform.dex.domain.order.OrderType
44

5-
final case class HttpLastTrade(price: Long, amount: Long, side: OrderType)
5+
final case class HttpLastTrade(price: Long, amount: Long, side: OrderType) {
6+
override def toString: String = s"LastTrade(p=$price, a=$amount, $side)"
7+
}

0 commit comments

Comments
 (0)