ndb: move to uint32 for kind and created_at

This commit is contained in:
William Casarin
2023-07-25 15:20:51 -07:00
parent 54d40f7ffd
commit e3c04465fc
14 changed files with 32 additions and 33 deletions

View File

@@ -10,7 +10,7 @@ import Foundation
class EventGroup {
var events: [NostrEvent]
var last_event_at: Int64 {
var last_event_at: UInt32 {
guard let first = self.events.first else {
return 0
}

View File

@@ -12,7 +12,7 @@ class ZapGroup {
var msat_total: Int64 = 0
var zappers = Set<String>()
var last_event_at: Int64 {
var last_event_at: UInt32 {
guard let first = zaps.first else {
return 0
}