aboutsummaryrefslogtreecommitdiffstats
path: root/routes/info.ts
diff options
context:
space:
mode:
Diffstat (limited to 'routes/info.ts')
-rw-r--r--routes/info.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/routes/info.ts b/routes/info.ts
index aae130bf..4ab11872 100644
--- a/routes/info.ts
+++ b/routes/info.ts
@@ -2,7 +2,6 @@ import { archive } from "$lib/db";
import { db } from "$lib/db";
import { getHealthStatus } from "$lib/health";
import ln from "$lib/ln";
-import { pool } from "$lib/ecash";
export default {
async health(_, res) {
@@ -28,10 +27,7 @@ export default {
);
const lnwallet = parseInt(funds.outputs.reduce((a, b) => a + b.value, 0));
- const cash = (await pool()).reduce((a, b) => a + b.amount, 0);
-
const info = {
- cash,
lnchannel,
lnwallet,
};