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

@@ -167,7 +167,7 @@ struct PayInvoiceRequest: Codable {
func make_wallet_connect_request<T>(req: WalletRequest<T>, to_pk: String, keypair: FullKeypair) -> NostrEvent? {
let tags = [["p", to_pk]]
let created_at = Int64(Date().timeIntervalSince1970)
let created_at = UInt32(Date().timeIntervalSince1970)
guard let content = encode_json(req) else {
return nil
}