diff options
| author | Adam Soltys <[email protected]> | 2024-11-22 21:02:11 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-22 21:02:11 -0800 |
| commit | 41ff5eb1261ad0878b080b5a85f6553223108429 (patch) | |
| tree | 0b3c5fc90c8f6ad9b8c5e2a9af5dedff0fde1af9 /lib | |
| parent | 4c0d9d92d610add0bd253a37380de5e0acd5367f (diff) | |
| download | coinos-server-41ff5eb1261ad0878b080b5a85f6553223108429.tar.gz coinos-server-41ff5eb1261ad0878b080b5a85f6553223108429.zip | |
migrate info endpoint
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ecash.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ecash.ts b/lib/ecash.ts index 9de5cdc2..7c44bec0 100644 --- a/lib/ecash.ts +++ b/lib/ecash.ts @@ -56,8 +56,7 @@ export async function mint(amount) { } export async function check(token) { - const o = getDecodedToken(token); - const { mint, proofs } = o; + const { mint, proofs } = getDecodedToken(token); const total = proofs.reduce((a, b) => a + b.amount, 0); const external = await ext(mint); |
