aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-07-12 11:10:12 -0700
committerAdam Soltys <[email protected]>2025-07-12 11:10:17 -0700
commit34b83c88006cb0aa52551199a49fe96c2cc51186 (patch)
treee827cef89444cf8b242da183104fe94da3232d7d
parent89fc1dd643ba8472b4839da708199767a5ca078f (diff)
downloadcoinos-server-34b83c88006cb0aa52551199a49fe96c2cc51186.tar.gz
coinos-server-34b83c88006cb0aa52551199a49fe96c2cc51186.zip
enable autowithdrawals
-rw-r--r--lib/payments.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/payments.ts b/lib/payments.ts
index cbff6dd3..437db14f 100644
--- a/lib/payments.ts
+++ b/lib/payments.ts
@@ -299,7 +299,6 @@ export const completePayment = async (inv, p, user) => {
if (p.confirmed) {
if (autowithdraw) {
try {
- fail("autowithdrawals disabled");
const to = destination.trim();
const balance = await g(`balance:${id}`);
const amount = balance - reserve;