rename min_amount endpoint to min_deposit
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user