Add protected chapter
This commit is contained in:
@@ -12,7 +12,9 @@ fn fixed_secret() -> SecretKey {
|
||||
}
|
||||
|
||||
fn test_event() -> OwnedEvent {
|
||||
EventContent::new("hello nostr", Tags::new())
|
||||
EventContent::new()
|
||||
.content("hello nostr")
|
||||
.tags(Tags::new())
|
||||
.kind(1)
|
||||
.stamp(1_700_000_000)
|
||||
.own(fixed_secret().public_key())
|
||||
|
||||
Reference in New Issue
Block a user