mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-22 14:33:06 +01:00
Remove uncessary import (#1968)
* Remove uncessary import * Attempt to fix compile
This commit is contained in:
parent
8b76acd042
commit
9dda88ed7b
1 changed files with 2 additions and 3 deletions
|
@ -9,9 +9,8 @@ import org.bitcoins.commons.jsonmodels.eclair.WebSocketEvent.{
|
|||
PaymentSent
|
||||
}
|
||||
import org.bitcoins.commons.jsonmodels.eclair.{PaymentId, WebSocketEvent}
|
||||
import org.bitcoins.core.seqUtil
|
||||
import org.bitcoins.crypto.Sha256Digest
|
||||
|
||||
import org.bitcoins.core.seqUtil
|
||||
import scala.concurrent.Promise
|
||||
|
||||
object PaymentLog {
|
||||
|
@ -42,7 +41,7 @@ object PaymentLog {
|
|||
case Some(e) =>
|
||||
e match {
|
||||
case PaymentReceived(_, parts) =>
|
||||
parts.maxByOption(_.timestamp) match {
|
||||
seqUtil(parts).maxByOption(_.timestamp) match {
|
||||
case Some(part) =>
|
||||
part.timestamp.toEpochMilli
|
||||
case None =>
|
||||
|
|
Loading…
Add table
Reference in a new issue