Skip to content

Commit

Permalink
Merge branch 'tordev2' into tordev
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed Nov 6, 2024
2 parents f2f100d + 8c35e6d commit 40c8cc2
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 55 deletions.
2 changes: 1 addition & 1 deletion api/lnd/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { cachedFetcher } from '@/lib/fetch'
import { toPositiveNumber } from '@/lib/validate'
import { authenticatedLndGrpc } from '@/lib/lnd'
import { authenticatedLndGrpc } from 'proxed-lnd-service'
import { getIdentity, getHeight, getWalletInfo, getNode } from 'ln-service'

const lnd = global.lnd || authenticatedLndGrpc({
Expand Down
52 changes: 0 additions & 52 deletions lib/lnd.js

This file was deleted.

12 changes: 12 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"pg-boss": "^9.0.3",
"piexifjs": "^1.0.6",
"prisma": "^5.20.0",
"proxed-lnd-service": "github:stackernews/proxed-lnd-service#10.22.1",
"qrcode.react": "^4.0.1",
"react": "^18.3.1",
"react-avatar-editor": "^13.0.2",
Expand Down
2 changes: 1 addition & 1 deletion wallets/lnd/server.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { datePivot } from '@/lib/time'
import { authenticatedLndGrpc } from '@/lib/lnd'
import { authenticatedLndGrpc } from 'proxed-lnd-service'
import { createInvoice as lndCreateInvoice } from 'ln-service'
import { TOR_REGEXP } from '@/lib/url'

Expand Down
2 changes: 1 addition & 1 deletion worker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { timestampItem } from './ots.js'
import { computeStreaks, checkStreak } from './streak.js'
import { nip57 } from './nostr.js'
import fetch from 'cross-fetch'
import { authenticatedLndGrpc } from '@/lib/lnd'
import { authenticatedLndGrpc } from 'proxed-lnd-service'
import { views, rankViews } from './views.js'
import { imgproxy } from './imgproxy.js'
import { deleteItem } from './ephemeralItems.js'
Expand Down

0 comments on commit 40c8cc2

Please sign in to comment.