mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-23 16:05:24 +00:00
Add log for zap receipt
This commit is contained in:
parent
1572954154
commit
525416c380
@ -81,6 +81,7 @@ export default async function handler(req, res) {
|
|||||||
const pool = new SimplePool();
|
const pool = new SimplePool();
|
||||||
const relays = foundAddress.defaultRelays || appConfig.defaultRelayUrls || [];
|
const relays = foundAddress.defaultRelays || appConfig.defaultRelayUrls || [];
|
||||||
await Promise.any(pool.publish(relays, signedZapReceipt));
|
await Promise.any(pool.publish(relays, signedZapReceipt));
|
||||||
|
console.log("ZAP RECEIPT PUBLISHED", signedZapReceipt);
|
||||||
}
|
}
|
||||||
|
|
||||||
res.status(200).json(invoice);
|
res.status(200).json(invoice);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user