diff options
| author | Adam Soltys <[email protected]> | 2024-11-01 20:20:40 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-01 20:20:40 -0700 |
| commit | 88b32c9cd70916a742263c36703d8c2b073236c6 (patch) | |
| tree | 04423a7113671f826044db0f6b98cc6e6624cb4f | |
| parent | 30b38613981843cc1ac9d8b791121ee6b265b783 (diff) | |
| download | coinos-server-88b32c9cd70916a742263c36703d8c2b073236c6.tar.gz coinos-server-88b32c9cd70916a742263c36703d8c2b073236c6.zip | |
absolute amount
| -rw-r--r-- | lib/nwc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -250,7 +250,7 @@ const handle = (method, params, user) => description: p.memo, preimage: p.ref, payment_hash, - amount: p.amount * 1000, + amount: Math.abs(p.amount * 1000), fees_paid: p.fee * 1000, created_at, expires_at: created_at + 7 * 24 * 60 * 60, |
