mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-26 17:52:29 +01:00
Making generateID public for testing
This commit is contained in:
parent
d9de0d2798
commit
738187d32b
@ -316,7 +316,7 @@ open class Event(
|
||||
return makeJsonForId(pubKey, createdAt, kind, tags, content)
|
||||
}
|
||||
|
||||
private fun generateId(): String {
|
||||
fun generateId(): String {
|
||||
return CryptoUtils.sha256(makeJsonForId().toByteArray()).toHexKey()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user