From ea66de0693b88f4a72129571aaa4feba801a8be8 Mon Sep 17 00:00:00 2001 From: svatantrya Date: Sun, 5 Jul 2026 20:47:12 -0400 Subject: [PATCH] rename min_amount endpoint to min_deposit --- index.html | 2 +- terms.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index e1612b8..d9faeee 100644 --- a/index.html +++ b/index.html @@ -444,7 +444,7 @@ async function fetchData() { async function fetchMinAmount() { const chain = getChain(); try { - const r = await fetch('/min_amount/' + chain); + const r = await fetch('/min_deposit/' + chain); const val = parseInt(await r.text(), 10); if (isNaN(val)) throw new Error('invalid'); minAmount = val; diff --git a/terms.html b/terms.html index 46aa953..7606be9 100644 --- a/terms.html +++ b/terms.html @@ -177,7 +177,7 @@ footer a{color:var(--accent);text-decoration:none} (async function() { const chain = location.hash ? location.hash.slice(1) : 'bitcoin'; try { - const r = await fetch('/min_amount/' + chain); + const r = await fetch('/min_deposit/' + chain); const val = parseInt(await r.text(), 10); if (!isNaN(val)) { document.getElementById('thr-min').textContent = Number(val).toLocaleString('en-US');