From b07b5ed56a4403cf7d8a0587aba54a342c3b51f7 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 16 Apr 2025 21:28:47 -0700 Subject: fix platform fees --- routes/payments.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'routes') diff --git a/routes/payments.ts b/routes/payments.ts index 71f29da4..56e0b9d3 100644 --- a/routes/payments.ts +++ b/routes/payments.ts @@ -2,6 +2,7 @@ import config from "$config"; import api from "$lib/api"; import { requirePin } from "$lib/auth"; import { db, g, s } from "$lib/db"; +import ln from "$lib/ln"; import { err, l, warn } from "$lib/logging"; import mqtt from "$lib/mqtt"; import { @@ -15,6 +16,7 @@ import { sendOnchain, } from "$lib/payments"; import { emit } from "$lib/sockets"; +import { PaymentType } from "$lib/types"; import { SATS, bail, @@ -28,8 +30,6 @@ import { import rpc from "@coinos/rpc"; import got from "got"; import { v4 } from "uuid"; -import { PaymentType } from "$lib/types"; -import ln from "$lib/ln"; export default { async info(_, res) { -- cgit v1.2.3