Turns all base Hint classes into data classes
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
package com.vitorpamplona.quartz.nip01Core.hints.types
|
||||
|
||||
class AddressHint(
|
||||
data class AddressHint(
|
||||
val addressId: String,
|
||||
var relay: String? = null,
|
||||
) : Hint {
|
||||
|
||||
@@ -23,7 +23,7 @@ package com.vitorpamplona.quartz.nip01Core.hints.types
|
||||
import com.vitorpamplona.quartz.nip01Core.core.HexKey
|
||||
import com.vitorpamplona.quartz.nip01Core.core.hexToByteArray
|
||||
|
||||
class EventIdHint(
|
||||
data class EventIdHint(
|
||||
val eventId: HexKey,
|
||||
var relay: String? = null,
|
||||
) : Hint {
|
||||
|
||||
@@ -23,7 +23,7 @@ package com.vitorpamplona.quartz.nip01Core.hints.types
|
||||
import com.vitorpamplona.quartz.nip01Core.core.HexKey
|
||||
import com.vitorpamplona.quartz.nip01Core.core.hexToByteArray
|
||||
|
||||
class PubKeyHint(
|
||||
data class PubKeyHint(
|
||||
val pubkey: HexKey,
|
||||
var relay: String? = null,
|
||||
) : Hint {
|
||||
|
||||
Reference in New Issue
Block a user