Printing time on EOSETime class for logs

This commit is contained in:
Vitor Pamplona
2023-04-02 11:54:40 -04:00
parent b8ca1a15fb
commit 4db0faeda4

View File

@@ -2,7 +2,11 @@ package com.vitorpamplona.amethyst.service.relays
import com.vitorpamplona.amethyst.model.User
class EOSETime(var time: Long)
class EOSETime(var time: Long) {
override fun toString(): String {
return time.toString()
}
}
class EOSERelayList(var relayList: Map<String, EOSETime> = emptyMap()) {
fun addOrUpdate(relayUrl: String, time: Long) {