Add some utility methods to tags

This commit is contained in:
Jon Staab
2026-04-22 10:39:03 -07:00
parent a8a57a3d77
commit 8773017198
4 changed files with 79 additions and 6 deletions
+3 -1
View File
@@ -192,7 +192,9 @@ impl Event {
.collect::<Vec<_>>(),
);
let hashed = cev::EventContent::new(content, tags)
let hashed = cev::EventContent::new()
.content(content)
.tags(tags)
.kind(kind)
.stamp(created_at)
.own(sk.0.public_key())