Add some utility methods to tags
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user