upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/lib/repo_state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/repo_state.rs')
-rw-r--r--src/lib/repo_state.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/repo_state.rs b/src/lib/repo_state.rs
index 04f3cf2..345f05c 100644
--- a/src/lib/repo_state.rs
+++ b/src/lib/repo_state.rs
@@ -56,9 +56,10 @@ impl RepoState {
56 add_head(&mut state); 56 add_head(&mut state);
57 let mut tags = vec![Tag::identifier(identifier.clone())]; 57 let mut tags = vec![Tag::identifier(identifier.clone())];
58 for (name, value) in &state { 58 for (name, value) in &state {
59 tags.push(Tag::custom(nostr_sdk::TagKind::Custom(name.into()), vec![ 59 tags.push(Tag::custom(
60 value.clone(), 60 nostr_sdk::TagKind::Custom(name.into()),
61 ])); 61 vec![value.clone()],
62 ));
62 } 63 }
63 let event = sign_event( 64 let event = sign_event(
64 EventBuilder::new(STATE_KIND, "").tags(tags), 65 EventBuilder::new(STATE_KIND, "").tags(tags),