diff options
Diffstat (limited to 'lib/nwc.ts')
| -rw-r--r-- | lib/nwc.ts | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -176,14 +176,14 @@ const handle = (method, params, ev, app, user) => } if (max_amount > 0 && spent + amount > max_amount) { - warn( - "budget exceeded", - pubkey, - user?.username, - spent, - amount, - max_amount, - ); + // warn( + // "budget exceeded", + // pubkey, + // user?.username, + // spent, + // amount, + // max_amount, + // ); return error({ code: "QUOTA_EXCEEDED", message: `Budget exceeded: ${spent + amount} of ${max_amount}`, |
