mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-20 13:31:54 +02:00
Printing time on EOSETime class for logs
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user