diff options
| author | Adam Soltys <[email protected]> | 2024-02-23 20:42:36 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-02-23 20:46:47 -0800 |
| commit | 0af4df3e3dea05063fe392a06772771ea79483a4 (patch) | |
| tree | d8f8c5c1fc651de8f1f8160637e66cfd156aecea /lib | |
| parent | ba392386cb439c634a7a11efbea9f7e3c834954b (diff) | |
| download | coinos-server-0af4df3e3dea05063fe392a06772771ea79483a4.tar.gz coinos-server-0af4df3e3dea05063fe392a06772771ea79483a4.zip | |
hide pay field
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lightning.js | 3 | ||||
| -rw-r--r-- | lib/whitelist.js | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/lightning.js b/lib/lightning.js index 4c2a830b..2d44581d 100644 --- a/lib/lightning.js +++ b/lib/lightning.js @@ -34,7 +34,8 @@ export async function listenForLightning() { try { if (JSON.parse(description).kind === 9734) await handleZap(inv); } catch (e) { - if (!e.message.startsWith("Unexpected")) warn("failed to handle zap", e.message); + if (!e.message.startsWith("Unexpected")) + warn("failed to handle zap", e.message); } } diff --git a/lib/whitelist.js b/lib/whitelist.js index e709d53e..52bb466a 100644 --- a/lib/whitelist.js +++ b/lib/whitelist.js @@ -16,6 +16,7 @@ export default [ "follows", "haspin", "hasprinter", + "hidepay", "id", "index", "keys", |
