Wrote simple event to subgraph function.

Updated related code to align.
This commit is contained in:
Jay
2026-03-03 11:01:37 -05:00
parent a1be3faf14
commit e734fc77ed
7 changed files with 319 additions and 42 deletions

View File

@@ -161,7 +161,7 @@ func TestStructuredSubgraphAddRel(t *testing.T) {
userNode := NewUserNode("pubkey1")
eventNode := NewEventNode("abc123")
rel, _ := NewSignedRel(userNode, eventNode, nil)
rel := NewSignedRel(userNode, eventNode, nil)
err := subgraph.AddRel(rel)