aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/info.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/info.ts b/routes/info.ts
index 8892b7f7..e24d4621 100644
--- a/routes/info.ts
+++ b/routes/info.ts
@@ -21,7 +21,7 @@ export default {
);
const lnwallet = parseInt(funds.outputs.reduce((a, b) => a + b.value, 0));
- const cash = getDecodedToken(await g("cash")).token[0].proofs.reduce(
+ const cash = getDecodedToken(await g("cash")).proofs.reduce(
(a, b) => a + b.amount,
0,
);