diff options
| author | gzuuus <[email protected]> | 2024-09-27 10:53:53 +0200 |
|---|---|---|
| committer | gzuuus <[email protected]> | 2024-09-27 10:53:53 +0200 |
| commit | 828f26269093a435fc074c203097681ffa762c79 (patch) | |
| tree | 2f830713f3e29bcf83cc3807c5c09463ad39a0a8 | |
| parent | 99e2c2b10b183eef998e3517208c1d99714ef295 (diff) | |
| download | coinos-server-828f26269093a435fc074c203097681ffa762c79.tar.gz coinos-server-828f26269093a435fc074c203097681ffa762c79.zip | |
fix: returning nwc balance in mSats
| -rw-r--r-- | lib/nwc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -114,7 +114,7 @@ let handle = (method, params, user) => }, async get_balance() { - let balance = await g(`balance:${user.id}`); + let balance = await g(`balance:${user.id}`) * 1000; return result({ balance }); }, |
