Skip to content

Commit

Permalink
problem: not validating sigs
Browse files Browse the repository at this point in the history
  • Loading branch information
gsovereignty committed Apr 20, 2024
1 parent e91fa08 commit 0ce6eac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/lib/snort_workers/fetch_events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let count = 0
async function start(eventIDs: string[]) {
return new Promise((resolve, reject) => {
const sys = new NostrSystem({
checkSigs: false //todo: check sigs JIT on rendering
checkSigs: true //todo: check sigs JIT on rendering
// automaticOutboxModel: true,
// buildFollowGraph: true,
});
Expand Down
2 changes: 1 addition & 1 deletion src/lib/snort_workers/live_subs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let count = 0
async function start(pubkeys: string[]) {
return new Promise((resolve, reject) => {
const sys = new NostrSystem({
checkSigs: false //todo: check sigs JIT on rendering
checkSigs: true //todo: check sigs JIT on rendering
// automaticOutboxModel: true,
// buildFollowGraph: true,
});
Expand Down
2 changes: 1 addition & 1 deletion src/lib/snort_workers/master_worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let workerData = new WorkerData();
let workerDataStore = writable(workerData);

const sys = new NostrSystem({
checkSigs: false
checkSigs: true
// automaticOutboxModel: true,
// buildFollowGraph: true,
});
Expand Down
2 changes: 1 addition & 1 deletion src/lib/views/messages/snort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { seedRelays } from "@/snort_workers/seed_relays";
import { NostrSystem, type QueryLike } from "@snort/system";
import { writable } from "svelte/store";

export const System = new NostrSystem({});
export const System = new NostrSystem({checkSigs: true});
let started = false;

export async function init() {
Expand Down

0 comments on commit 0ce6eac

Please sign in to comment.