Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 2 additions & 24 deletions core/src/thread/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { beforeAll, beforeEach, describe, expect, it } from "vitest";

import type { NDKEventId, NostrEvent } from "../events";
import { NDKEvent } from "../events";
import { NDK } from "../ndk";
Expand Down Expand Up @@ -166,30 +168,6 @@ describe("Threads to make Gigi ⚡🧡 happy", () => {
'So I hear I am an ecash hater?\nTo be clear, I love ecash, it has great applications, such as paid API calls like in Wasabi. The worlds soft currencies will be ecash, built on Bitcoin stack.\nThere is however an issue when 90% bitcoiners think ecash is noncustodial, pegged, see it as a "scaling" solution.\n* There are no proof of reserve proposals that make sense, mints can always brr.\n* Ecash is not a scaling solution, it\'s a custodial solution.\n* You are giving someone your bitcoin, and they are giving you a thing they claim is bitcoin.\n* Mint operators should be aware of the legal risks.',
sig: "0404562af5706ef330451be4dc0b8003959b7554bac47f7075c3fd616c21228d93c73f1d919de8ad2e8f09505ec572868ad82c3945ce7a3dcd6c5fdecc6e165b",
});
const _replyEvent = new NDKEvent(undefined, {
id: "f88d4af5cf5e2817e498903e5ed907566ebb9682f78f365cc60cf3c4009d1b48",
pubkey: "f55678aa1f5d554536d456b13beab04f636d63fdedd586fe38a4cb9ce48c90bc",
created_at: 1713516665,
kind: 1,
tags: [
[
"e",
"c2fe486097fb72a49081baba7b53c3cffa886e9e0117462b9c31f2e79f09c1e7",
"wss://nostr.mom/",
"root",
],
[
"e",
"c2fe486097fb72a49081baba7b53c3cffa886e9e0117462b9c31f2e79f09c1e7",
"wss://nostr.mom/",
"reply",
],
["p", "c1fc7771f5fa418fd3ac49221a18f19b42ccb7a663da8f04cbbf6c08c80d20b1", "", "mention"],
],
content:
"All points valid. But I would love to see Cashu as a base in lnbits, as it is already a custodial multi-wallet.",
sig: "67946ee386c5d178292adf7a6408a14e3bdbfd2a6073c92527761bce41f827248b6689c0a971982a3927d8d768e67f37cee4d47aa16c186653d0964b0e912259",
});
const replyToReplyEvent = new NDKEvent(undefined, {
id: "876b69c0452b0243ab9509dfb928c1cf86cbae1ab4aca15eb49f9b4bc714f558",
pubkey: "c1fc7771f5fa418fd3ac49221a18f19b42ccb7a663da8f04cbbf6c08c80d20b1",
Expand Down