Skip to content
Merged
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
2 changes: 1 addition & 1 deletion src/mcp-wallet-prf-v2.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ export function createPrfWalletCoordinator({
const tick = async () => {
try {
const db = ensureStore();
const now = Date.now();
const now = Math.floor(Date.now() / 1000); // expires_at is epoch seconds
const rows = db.db
.prepare(
"SELECT * FROM nuri_prf_lightning_receives WHERE status = 'pending' AND request_id LIKE 'lnurlp:%' AND expires_at > ? ORDER BY created_at ASC LIMIT 20",
Expand Down
Loading